Examples of FaultReceiverType


Examples of org.apache.airavata.workflow.tracking.types.FaultReceiverType

        if (context == null)
            throw new RuntimeException("Context passed was NULL.");

        ReceivedFaultDocument activity = ReceivedFaultDocument.Factory.newInstance();
        FaultReceiverType activityType = activity.addNewReceivedFault();

        // set the responder to the remote entity
        if (context.getRemoteEntity() != null) {
            activityType.addNewResponder().set(context.getRemoteEntity().toBaseIDType());
        } else {
            logger.warn("Error in context that was passed. " + "There was no remote entity defined (responder=NULL)");
        }

        sendNotification(wtcontext, activity, descriptionAndAnnotation, "[Fault is received for invocation ]");
View Full Code Here

Examples of org.apache.airavata.workflow.tracking.types.FaultReceiverType

        if (context == null)
            throw new RuntimeException("Context passed was NULL.");

        ReceivedFaultDocument activity = ReceivedFaultDocument.Factory.newInstance();
        FaultReceiverType activityType = activity.addNewReceivedFault();

        // set the responder to the remote entity
        if (context.getRemoteEntity() != null) {
            activityType.addNewResponder().set(context.getRemoteEntity().toBaseIDType());
        } else {
            logger.warn("Error in context that was passed. " + "There was no remote entity defined (responder=NULL)");
        }

        sendNotification(wtcontext, activity, descriptionAndAnnotation, "[Fault is received for invocation ]");
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.