Package org.camunda.bpm.qa.upgrade.util
Class ThrowBpmnErrorDelegate
java.lang.Object
org.camunda.bpm.qa.upgrade.util.ThrowBpmnErrorDelegate
- All Implemented Interfaces:
DelegateListener<DelegateExecution>,ExecutionListener,JavaDelegate
- Author:
- Thorben Lindhauer
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic class -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final StringFields inherited from interface org.camunda.bpm.engine.delegate.ExecutionListener
EVENTNAME_END, EVENTNAME_START, EVENTNAME_TAKE -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidexecute(DelegateExecution execution) voidnotify(DelegateExecution execution) protected voidthrowErrorIfRequested(DelegateExecution execution) protected voidthrowExceptionIfRequested(DelegateExecution execution)
-
Field Details
-
ERROR_INDICATOR_VARIABLE
- See Also:
-
ERROR_NAME_VARIABLE
- See Also:
-
EXCEPTION_INDICATOR_VARIABLE
- See Also:
-
EXCEPTION_MESSAGE_VARIABLE
- See Also:
-
DEFAULT_ERROR_NAME
-
DEFAULT_EXCEPTION_MESSAGE
-
-
Constructor Details
-
ThrowBpmnErrorDelegate
public ThrowBpmnErrorDelegate()
-
-
Method Details
-
execute
- Specified by:
executein interfaceJavaDelegate- Throws:
Exception
-
notify
- Specified by:
notifyin interfaceDelegateListener<DelegateExecution>- Specified by:
notifyin interfaceExecutionListener- Throws:
Exception
-
throwErrorIfRequested
-
throwExceptionIfRequested
-