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,
String message)
Create a new enter state veto exception.
|
EnterStateVetoException(RequestContext context,
StateDefinition vetoedState,
String message,
Throwable cause)
Create a new enter state veto exception.
|
EnterStateVetoException(String flowId,
String sourceStateId,
String vetoedStateId,
String message)
Create a new enter state veto exception.
|
EnterStateVetoException(String flowId,
String sourceStateId,
String vetoedStateId,
String message,
Throwable cause)
Create a new enter state veto exception.
|
| Modifier and Type | Method and Description |
|---|---|
String |
getVetoedStateId()
Returns the state for which entering was vetoed.
|
getFlowId, getStateIdaddSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toStringpublic EnterStateVetoException(String flowId, String sourceStateId, String vetoedStateId, 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(String flowId, String sourceStateId, String vetoedStateId, String message, 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, String message)
context - the flow execution request contextvetoedState - the state for which entering is vetoedmessage - a descriptive messagepublic EnterStateVetoException(RequestContext context, StateDefinition vetoedState, String message, Throwable cause)
context - the flow execution request contextvetoedState - the state for which entering is vetoedmessage - a descriptive messagecause - the underlying causepublic String getVetoedStateId()