public class ThrowBpmnErrorDelegate extends Object implements JavaDelegate, ExecutionListener
Modifier and Type | Class and Description |
---|---|
static class |
ThrowBpmnErrorDelegate.ThrowBpmnErrorDelegateException |
Modifier and Type | Field and Description |
---|---|
static String |
DEFAULT_ERROR_NAME |
static String |
DEFAULT_EXCEPTION_MESSAGE |
static String |
ERROR_INDICATOR_VARIABLE |
static String |
ERROR_NAME_VARIABLE |
static String |
EXCEPTION_INDICATOR_VARIABLE |
static String |
EXCEPTION_MESSAGE_VARIABLE |
EVENTNAME_END, EVENTNAME_START, EVENTNAME_TAKE
Constructor and Description |
---|
ThrowBpmnErrorDelegate() |
Modifier and Type | Method and Description |
---|---|
void |
execute(DelegateExecution execution) |
void |
notify(DelegateExecution execution) |
protected void |
throwErrorIfRequested(DelegateExecution execution) |
protected void |
throwExceptionIfRequested(DelegateExecution execution) |
public static final String ERROR_INDICATOR_VARIABLE
public static final String ERROR_NAME_VARIABLE
public static final String EXCEPTION_INDICATOR_VARIABLE
public static final String EXCEPTION_MESSAGE_VARIABLE
public static final String DEFAULT_ERROR_NAME
public static final String DEFAULT_EXCEPTION_MESSAGE
public void execute(DelegateExecution execution) throws Exception
execute
in interface JavaDelegate
Exception
public void notify(DelegateExecution execution) throws Exception
notify
in interface DelegateListener<DelegateExecution>
notify
in interface ExecutionListener
Exception
protected void throwErrorIfRequested(DelegateExecution execution)
protected void throwExceptionIfRequested(DelegateExecution execution)
Copyright © 2021. All rights reserved.