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
Modifier and TypeClassDescriptionstatic class
-
Field Summary
Modifier and TypeFieldDescriptionstatic final String
static final String
static final String
static final String
static final String
static final String
Fields inherited from interface org.camunda.bpm.engine.delegate.ExecutionListener
EVENTNAME_END, EVENTNAME_START, EVENTNAME_TAKE
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
execute
(DelegateExecution execution) void
notify
(DelegateExecution execution) protected void
throwErrorIfRequested
(DelegateExecution execution) protected void
throwExceptionIfRequested
(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:
execute
in interfaceJavaDelegate
- Throws:
Exception
-
notify
- Specified by:
notify
in interfaceDelegateListener<DelegateExecution>
- Specified by:
notify
in interfaceExecutionListener
- Throws:
Exception
-
throwErrorIfRequested
-
throwExceptionIfRequested
-