public class EnterStateVetoException extends FlowExecutionException
FlowExecutionListener objects
that apply security or other runtime constraint checks to flow executions.| Constructor and Description |
|---|
EnterStateVetoException(RequestContext context,
StateDefinition vetoedState,
java.lang.String message)
Create a new enter state veto exception.
|
EnterStateVetoException(RequestContext context,
StateDefinition vetoedState,
java.lang.String message,
java.lang.Throwable cause)
Create a new enter state veto exception.
|
EnterStateVetoException(java.lang.String flowId,
java.lang.String sourceStateId,
java.lang.String vetoedStateId,
java.lang.String message)
Create a new enter state veto exception.
|
EnterStateVetoException(java.lang.String flowId,
java.lang.String sourceStateId,
java.lang.String vetoedStateId,
java.lang.String message,
java.lang.Throwable cause)
Create a new enter state veto exception.
|
| Modifier and Type | Method and Description |
|---|---|
java.lang.String |
getVetoedStateId()
Returns the state for which entering was vetoed.
|
getFlowId, getStateIdpublic EnterStateVetoException(java.lang.String flowId,
java.lang.String sourceStateId,
java.lang.String vetoedStateId,
java.lang.String message)
flowId - the active flowsourceStateId - the current state when the veto operation occuredvetoedStateId - the state for which entering is vetoedmessage - a descriptive messagepublic EnterStateVetoException(java.lang.String flowId,
java.lang.String sourceStateId,
java.lang.String vetoedStateId,
java.lang.String message,
java.lang.Throwable cause)
flowId - the active flowsourceStateId - the current state when the veto operation occuredvetoedStateId - the state for which entering is vetoedmessage - a descriptive messagecause - the underlying causepublic EnterStateVetoException(RequestContext context, StateDefinition vetoedState, java.lang.String message)
context - the flow execution request contextvetoedState - the state for which entering is vetoedmessage - a descriptive messagepublic EnterStateVetoException(RequestContext context, StateDefinition vetoedState, java.lang.String message, java.lang.Throwable cause)
context - the flow execution request contextvetoedState - the state for which entering is vetoedmessage - a descriptive messagecause - the underlying cause