public class ErrorPropagation extends Object
| Constructor and Description |
|---|
ErrorPropagation() |
| Modifier and Type | Method and Description |
|---|---|
protected static void |
executeCatch(Map<String,List<Event>> eventMap,
DelegateExecution delegateExecution,
String errorId) |
protected static void |
executeEventHandler(Event event,
ExecutionEntity parentExecution,
ExecutionEntity currentExecution,
String errorId) |
protected static Map<String,List<Event>> |
findCatchingEventsForProcess(String processDefinitionId,
String errorCode) |
protected static String |
findMatchingExceptionMapping(Exception e,
List<MapExceptionEntry> exceptionMap) |
static boolean |
mapException(Exception e,
ExecutionEntity execution,
List<MapExceptionEntry> exceptionMap) |
static void |
propagateError(BpmnError error,
DelegateExecution execution) |
static void |
propagateError(String errorCode,
DelegateExecution execution) |
protected static String |
retrieveErrorCode(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<Event>> eventMap, DelegateExecution delegateExecution, String errorId)
protected static void executeEventHandler(Event event, ExecutionEntity parentExecution, ExecutionEntity currentExecution, String errorId)
protected static Map<String,List<Event>> findCatchingEventsForProcess(String processDefinitionId, String errorCode)
public static boolean mapException(Exception e, ExecutionEntity execution, List<MapExceptionEntry> exceptionMap)
protected static String findMatchingExceptionMapping(Exception e, List<MapExceptionEntry> exceptionMap)
Copyright © 2010–2018 Alfresco. All rights reserved.