Class ErrorPropagation

java.lang.Object
org.activiti.engine.impl.bpmn.helper.ErrorPropagation

public class ErrorPropagation extends Object
This class is responsible for finding and executing error handlers for BPMN Errors. Possible error handlers include Error Intermediate Events and Error Event Sub-Processes.
  • Constructor Details

    • ErrorPropagation

      public ErrorPropagation()
  • Method Details

    • propagateError

      public static void propagateError(BpmnError error, DelegateExecution execution)
    • propagateError

      public static void propagateError(String errorRef, DelegateExecution execution)
    • executeCatch

      protected static boolean executeCatch(Map<String,List<org.activiti.bpmn.model.Event>> eventMap, DelegateExecution delegateExecution, org.activiti.bpmn.model.Error error)
    • findCatchingEventsAndExecuteCatchForCallActivity

      protected static boolean findCatchingEventsAndExecuteCatchForCallActivity(String errorRef, DelegateExecution execution)
    • executeEventHandler

      protected static void executeEventHandler(org.activiti.bpmn.model.Event event, ExecutionEntity parentExecution, ExecutionEntity currentExecution, org.activiti.bpmn.model.Error error)
    • findCatchingEventsForProcess

      protected static Map<String,List<org.activiti.bpmn.model.Event>> findCatchingEventsForProcess(String processDefinitionId, org.activiti.bpmn.model.Error error)
    • mapException

      public static boolean mapException(Exception e, ExecutionEntity execution, List<org.activiti.bpmn.model.MapExceptionEntry> exceptionMap)
    • findMatchingExceptionMapping

      protected static String findMatchingExceptionMapping(Exception e, List<org.activiti.bpmn.model.MapExceptionEntry> exceptionMap)
    • retrieveErrorCode

      protected static String retrieveErrorCode(org.activiti.bpmn.model.BpmnModel bpmnModel, String errorRef)