Examples of fireFault()


Examples of org.uengine.kernel.Activity.fireFault()

    try{
      ProcessInstance instance = getInstance(instanceId);
 
      ProcessDefinition definition = instance.getProcessDefinition();
      Activity activity = definition.getActivity(tracingTag);
      activity.fireFault(instance, fault);
     
    }catch(Exception e){
      e.printStackTrace();
      throw new RemoteException("ProcessManagerError:"+e.getMessage(), e);
    }
View Full Code Here

Examples of org.uengine.kernel.HumanActivity.fireFault()

        humanActivity.saveWorkItem(instance, payload);
      }else{
        try{
          humanActivity.fireReceived(instance, payload);
        }catch(Exception e){
          humanActivity.fireFault(instance, e);
         
          throw new UEngineException(e.getMessage(), null, new UEngineException(e.getMessage(), e), instance, humanActivity);
        }
      }
   
View Full Code Here

Examples of org.uengine.kernel.ProcessInstance.fireFault()

System.out.println("FaultProcessorBean::onMessage: fault is " + fault + "\n detail is " + fault.getDetails());
      //TODO: because of Oracle's max size of varchar
      fault.setDetails(null);
      //
     
      instance.fireFault(tracingTag, fault);
      pmb.applyChanges();

    }catch(Exception e){
      if(pmb!=null)
        try {
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.