public class FlowExecutionException extends FlowException
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 and Description |
---|
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.
|
Modifier and Type | Method and Description |
---|---|
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.
|
public FlowExecutionException(java.lang.String flowId, java.lang.String stateId, java.lang.String message)
flowId
- the flow where the exception occurredstateId
- the state where the exception occurredmessage
- 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 causepublic java.lang.String getFlowId()
public java.lang.String getStateId()