public class ErrorPropagation extends Object
Constructor and Description |
---|
ErrorPropagation() |
Modifier and Type | Method and Description |
---|---|
protected static void |
executeCatch(Map<String,List<org.activiti.bpmn.model.Event>> eventMap,
DelegateExecution delegateExecution,
String errorId) |
protected static void |
executeEventHandler(org.activiti.bpmn.model.Event event,
ExecutionEntity parentExecution,
String errorId) |
protected static Map<String,List<org.activiti.bpmn.model.Event>> |
findCatchingEventsForProcess(String processDefinitionId,
String errorCode) |
protected static String |
findMatchingExceptionMapping(Exception e,
List<org.activiti.bpmn.model.MapExceptionEntry> exceptionMap) |
protected static ExecutionTreeNode |
getCurrentExecutionTreeNode(ExecutionTreeNode treeNode,
String processInstanceId) |
static boolean |
mapException(Exception e,
ExecutionEntity execution,
List<org.activiti.bpmn.model.MapExceptionEntry> exceptionMap) |
static void |
propagateError(BpmnError error,
DelegateExecution execution) |
static void |
propagateError(String errorCode,
DelegateExecution execution) |
protected static String |
retrieveErrorCode(org.activiti.bpmn.model.BpmnModel bpmnModel,
String errorCode) |
public static void propagateError(BpmnError error, DelegateExecution execution)
public static void propagateError(String errorCode, DelegateExecution execution)
protected static void executeCatch(Map<String,List<org.activiti.bpmn.model.Event>> eventMap, DelegateExecution delegateExecution, String errorId)
protected static void executeEventHandler(org.activiti.bpmn.model.Event event, ExecutionEntity parentExecution, String errorId)
protected static Map<String,List<org.activiti.bpmn.model.Event>> findCatchingEventsForProcess(String processDefinitionId, String errorCode)
public static boolean mapException(Exception e, ExecutionEntity execution, List<org.activiti.bpmn.model.MapExceptionEntry> exceptionMap)
protected static String findMatchingExceptionMapping(Exception e, List<org.activiti.bpmn.model.MapExceptionEntry> exceptionMap)
protected static ExecutionTreeNode getCurrentExecutionTreeNode(ExecutionTreeNode treeNode, String processInstanceId)
Copyright © 2015 Alfresco. All rights reserved.