Examples of originalException()


Examples of ariba.ui.aribaweb.util.AWGenericException.originalException()

            }
            throw new AWHandledException(actionResults);
        }
        else if (exception instanceof AWGenericException) {
            AWGenericException genericException = ((AWGenericException)exception);
            Throwable subexception = genericException.originalException();
            if ((subexception != null) && (subexception instanceof Exception)) {
                _handleException((Exception)subexception);
            }
            else {
                throw genericException;               
View Full Code Here

Examples of ariba.util.core.WrapperRuntimeException.originalException()

                    it will do it, we don't want to catch these by mistake. That's why there is
                    this instanceof test
                */
                if (throwable instanceof WrapperRuntimeException) {
                    WrapperRuntimeException wrapperException = (WrapperRuntimeException)throwable;
                    Exception originalException = wrapperException.originalException();
                    if (originalException != null && (originalException instanceof java.net.SocketException ||
                        originalException.getClass().getName().equals(
                            "org.apache.catalina.connector.ClientAbortException"))) {
                        // ignore all "Connection reset by peer"
                    }
View Full Code Here

Examples of ariba.util.core.WrapperRuntimeException.originalException()

            boolean ignore = false;
            if (runtimeException instanceof WrapperRuntimeException) {
                WrapperRuntimeException wrapperException =
                    (WrapperRuntimeException)runtimeException;
                Exception originalException = wrapperException.originalException();
                if (originalException instanceof java.net.SocketException) {
                    String message = originalException.getMessage();
                    if (message.startsWith("Connection reset by peer")) {
                        ignore = true;
                    }
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.