|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectjava.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
org.springframework.webflow.core.FlowException
org.springframework.webflow.execution.FlowExecutionException
org.springframework.webflow.execution.EnterStateVetoException
public class EnterStateVetoException
Exception thrown to veto the entering of a state of a flow. Typically thrown by FlowExecutionListener
objects
that apply security or other runtime constraint checks to flow executions.
Constructor Summary | |
---|---|
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. |
Method Summary | |
---|---|
String |
getVetoedStateId()
Returns the state for which entering was vetoed. |
Methods inherited from class org.springframework.webflow.execution.FlowExecutionException |
---|
getFlowId, getStateId |
Methods inherited from class java.lang.Throwable |
---|
fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public 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 causeMethod Detail |
---|
public String getVetoedStateId()
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |