Examples of ExceptionType


Examples of org.apache.openejb.core.ExceptionType

        } catch (Throwable e) {
            if (e instanceof InvocationTargetException) {
                e = ((InvocationTargetException) e).getTargetException();
            }

            ExceptionType type = callContext.getBeanContext().getExceptionType(e);
            if (type == ExceptionType.SYSTEM) {
                /* System Exception ****************************/
                handleSystemException(txPolicy, e, callContext);
            } else {
                /* Application Exception ***********************/
 
View Full Code Here

Examples of org.oasis_open.docs.ws_tx.wsba._2006._06.ExceptionType

    {
        EndpointReference participant = getParticipant(endpoint, addressingProperties);
        AddressingHelper.installFromFaultTo(addressingProperties, participant, identifier);
        BusinessAgreementWithCoordinatorCompletionCoordinatorPortType port;
        port = getPort(endpoint, addressingProperties, failAction);
        ExceptionType fail = new ExceptionType();
        fail.setExceptionIdentifier(exceptionIdentifier);

        port.failOperation(fail);
    }
View Full Code Here

Examples of org.talend.types.demos.generalobjects.errorhandling._1.ExceptionType

    System.out.println("ZIP: " + zip);
    System.out.println("Borrowed: " + borrowed);
  }

    public static void showExceptionFrame(ExceptionFrame exceptionFrame) {
        ExceptionType type = exceptionFrame.getException().get(0);
        if (type != null && type.getExceptionText() != null) {
            System.out.print("Error message is: " + type.getExceptionText());
        }
    }
View Full Code Here

Examples of org.talend.types.test.generalobjects.errorhandling._1.ExceptionType

    private void showSeekBookResponse(final ListOfBooks response ){

    }

    private SeekBookError prepareException(String message) {
        ExceptionType exception = new ExceptionType();
        exception.setOperation("seekBook");
        exception.setServiceName("LibraryService");
        exception.setExceptionText(message);
        ExceptionFrame frame = new ExceptionFrame();
        frame.getException().add(exception);
        SeekBookError e = new SeekBookError("Book not found", frame);
        return e;
    }
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.