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