|
|||||||||
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.core.NestedRuntimeException
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,
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. |
Method Summary | |
---|---|
java.lang.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 org.springframework.core.NestedRuntimeException |
---|
contains, getCause, getMessage, getMostSpecificCause, getRootCause, printStackTrace, printStackTrace |
Methods inherited from class java.lang.Throwable |
---|
fillInStackTrace, getLocalizedMessage, getStackTrace, initCause, printStackTrace, setStackTrace, toString |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public 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 causeMethod Detail |
---|
public java.lang.String getVetoedStateId()
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |