Class ErrorPropagation
java.lang.Object
org.activiti.engine.impl.bpmn.helper.ErrorPropagation
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 Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected static booleanexecuteCatch(Map<String, List<org.activiti.bpmn.model.Event>> eventMap, DelegateExecution delegateExecution, org.activiti.bpmn.model.Error error) protected static voidexecuteEventHandler(org.activiti.bpmn.model.Event event, ExecutionEntity parentExecution, ExecutionEntity currentExecution, org.activiti.bpmn.model.Error error) protected static booleanfindCatchingEventsAndExecuteCatchForCallActivity(String errorRef, DelegateExecution execution) findCatchingEventsForProcess(String processDefinitionId, org.activiti.bpmn.model.Error error) protected static StringfindMatchingExceptionMapping(Exception e, List<org.activiti.bpmn.model.MapExceptionEntry> exceptionMap) static booleanmapException(Exception e, ExecutionEntity execution, List<org.activiti.bpmn.model.MapExceptionEntry> exceptionMap) static voidpropagateError(String errorRef, DelegateExecution execution) static voidpropagateError(BpmnError error, DelegateExecution execution) protected static StringretrieveErrorCode(org.activiti.bpmn.model.BpmnModel bpmnModel, String errorRef)
-
Constructor Details
-
ErrorPropagation
public ErrorPropagation()
-
-
Method Details
-
propagateError
-
propagateError
-
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
-
mapException
public static boolean mapException(Exception e, ExecutionEntity execution, List<org.activiti.bpmn.model.MapExceptionEntry> exceptionMap) -
findMatchingExceptionMapping
-
retrieveErrorCode
-