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(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.
|
Modifier and Type | Method and Description |
---|---|
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.
|
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
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 causepublic String getFlowId()
public String getStateId()