return superExecution;
}
private static void executeCatch(String errorHandlerId, ActivityExecution execution) {
ProcessDefinitionImpl processDefinition = ((ExecutionEntity) execution).getProcessDefinition();
ActivityImpl errorHandler = processDefinition.findActivity(errorHandlerId);
ensureNotNull(errorHandlerId + " not found in process definition", "errorHandler", errorHandler);
boolean matchingParentFound = false;
ActivityExecution leavingExecution = execution;
ActivityImpl currentActivity = (ActivityImpl) execution.getActivity();