|
|||||||||
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
public class FlowExecutionException
Base class for exceptions that occur within a flow while it is executing. Can be used directly, but you are encouraged to create a specific subclass for a particular use case.
Execution exceptions occur at runtime when the flow is executing requests on behalf of a client. They signal that an execution problem occured: e.g. action execution failed or no transition matched the current request context.
Constructor Summary | |
---|---|
FlowExecutionException(java.lang.String flowId,
java.lang.String stateId,
java.lang.String message)
Creates a new flow execution exception. |
|
FlowExecutionException(java.lang.String flowId,
java.lang.String stateId,
java.lang.String message,
java.lang.Throwable cause)
Creates a new flow execution exception. |
Method Summary | |
---|---|
java.lang.String |
getFlowId()
Returns the id of the flow definition that was executing when this exception occured. |
java.lang.String |
getStateId()
Returns the id of the state definition where the exception occured. |
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 FlowExecutionException(java.lang.String flowId, java.lang.String stateId, java.lang.String message)
flowId
- the flow where the exception occuredstateId
- the state where the exception occuredmessage
- a descriptive messagepublic FlowExecutionException(java.lang.String flowId, java.lang.String stateId, java.lang.String message, java.lang.Throwable cause)
flowId
- the flow where the exception occuredstateId
- the state where the exception occuredmessage
- a descriptive messagecause
- the root causeMethod Detail |
---|
public java.lang.String getFlowId()
public java.lang.String getStateId()
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |