public class ErrorEndEventActivityBehavior extends AbstractBpmnActivityBehavior
AbstractBpmnActivityBehavior.ErrorDeclarationForProcessInstanceFinder, AbstractBpmnActivityBehavior.ErrorPropagationException
Modifier and Type | Field and Description |
---|---|
protected String |
errorCode |
LOG
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, doLeave, executeWithErrorPropagation, isCompensationEventSubprocess, isProcessEngineExceptionWithoutCause, isTransactionNotActive, propagateBpmnError, propagateError, propagateException, propagateExceptionAsError, signal, signalCompensationDone
leave, 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 © 2017. All rights reserved.