public class ErrorPropagation extends Object
| Constructor and Description |
|---|
ErrorPropagation() |
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)
public static String findMatchingExceptionMapping(Exception e, List<MapExceptionEntry> exceptionMap)
protected static Event getCatchEventFromList(List<Event> events, ExecutionEntity parentExecution)
protected static String getErrorCodeFromErrorEventDefinition(Event event)
public static <E extends Throwable> void handleException(Throwable exc, ExecutionEntity execution, List<MapExceptionEntry> exceptionMap) throws E extends Throwable
E extends Throwableprotected static void injectErrorContext(Event event, ExecutionEntity execution, String errorCode)
Copyright © 2023 Flowable. All rights reserved.