public class ErrorEndEventActivityBehavior extends AbstractBpmnActivityBehavior
AbstractBpmnActivityBehavior.ErrorDeclarationFinder, AbstractBpmnActivityBehavior.ErrorDeclarationForProcessInstanceFinder, AbstractBpmnActivityBehavior.LeafExecutionHierarchyWalker, AbstractBpmnActivityBehavior.ProcessInstanceCollector
Modifier and Type | Field and Description |
---|---|
protected String |
errorCode |
bpmnActivityBehavior
Constructor and Description |
---|
ErrorEndEventActivityBehavior(String errorCode) |
Modifier and Type | Method and Description |
---|---|
void |
execute(ActivityExecution execution)
Default behaviour: just leave the activity with no extra functionality.
|
String |
getErrorCode() |
void |
setErrorCode(String errorCode) |
checkIfCauseOfExceptionIsBpmnError, createCompensateEventSubscription, executeWithErrorPropagation, getCompensationHandler, getCurrentFlowScope, isProcessEngineExceptionWithoutCause, isTransactionNotActive, leave, propagateBpmnError, propagateError, propagateException, propagateExceptionAsError, signal, signalCompensationDone
leaveIgnoreConditions
protected String errorCode
public ErrorEndEventActivityBehavior(String errorCode)
public void execute(ActivityExecution execution) throws Exception
FlowNodeActivityBehavior
execute
in interface CoreActivityBehavior<ActivityExecution>
execute
in interface ActivityBehavior
execute
in class FlowNodeActivityBehavior
Exception
public String getErrorCode()
public void setErrorCode(String errorCode)
Copyright © 2018. All rights reserved.