|
|||||||||
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
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 occurred: e.g. action execution failed or no transition matched the current request context.
Constructor Summary | |
---|---|
FlowExecutionException(String flowId,
String stateId,
String message)
Creates a new flow execution exception. |
|
FlowExecutionException(String flowId,
String stateId,
String message,
Throwable cause)
Creates a new flow execution exception. |
Method Summary | |
---|---|
String |
getFlowId()
Returns the id of the flow definition that was executing when this exception occured. |
String |
getStateId()
Returns the id of the state definition where the exception occured. |
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 FlowExecutionException(String flowId, String stateId, String message)
flowId
- the flow where the exception occurredstateId
- the state where the exception occurredmessage
- a descriptive messagepublic FlowExecutionException(String flowId, String stateId, String message, Throwable cause)
flowId
- the flow where the exception occuredstateId
- the state where the exception occuredmessage
- a descriptive messagecause
- the root causeMethod Detail |
---|
public String getFlowId()
public String getStateId()
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |