/** * Overrides the propagateBpmnError method to made it public. * Is used to propagate the bpmn error from an external task. * @param error the error which should be propagated * @param execution the current activity execution * @throws Exception throwsn an exception if no handler was found */ @Override public void propagateBpmnError(BpmnError error, ActivityExecution execution) throws Exception { super.propagateBpmnError(error, execution); }
/** * Overrides the propagateBpmnError method to made it public. * Is used to propagate the bpmn error from an external task. * @param error the error which should be propagated * @param execution the current activity execution * @throws Exception throwsn an exception if no handler was found */ @Override public void propagateBpmnError(BpmnError error, ActivityExecution execution) throws Exception { super.propagateBpmnError(error, execution); }
/** * Decides how to propagate the exception properly, e.g. as bpmn error or "normal" error. * @param execution the current execution * @param ex the exception to propagate * @throws Exception if no error handler could be found */ protected void propagateException(ActivityExecution execution, Exception ex) throws Exception { BpmnError bpmnError = checkIfCauseOfExceptionIsBpmnError(ex); if (bpmnError != null) { propagateBpmnError(bpmnError, execution); } else { propagateExceptionAsError(ex, execution); } }
/** * Decides how to propagate the exception properly, e.g. as bpmn error or "normal" error. * @param execution the current execution * @param ex the exception to propagate * @throws Exception if no error handler could be found */ protected void propagateException(ActivityExecution execution, Exception ex) throws Exception { BpmnError bpmnError = checkIfCauseOfExceptionIsBpmnError(ex); if (bpmnError != null) { propagateBpmnError(bpmnError, execution); } else { propagateExceptionAsError(ex, execution); } }
/** * Overrides the propagateBpmnError method to made it public. * Is used to propagate the bpmn error from an external task. * @param error the error which should be propagated * @param execution the current activity execution * @throws Exception throwsn an exception if no handler was found */ @Override public void propagateBpmnError(BpmnError error, ActivityExecution execution) throws Exception { super.propagateBpmnError(error, execution); }
/** * Decides how to propagate the exception properly, e.g. as bpmn error or "normal" error. * @param execution the current execution * @param ex the exception to propagate * @throws Exception if no error handler could be found */ protected void propagateException(ActivityExecution execution, Exception ex) throws Exception { BpmnError bpmnError = checkIfCauseOfExceptionIsBpmnError(ex); if (bpmnError != null) { propagateBpmnError(bpmnError, execution); } else { propagateExceptionAsError(ex, execution); } }