Class FlowActionException
java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
com.aquima.interactions.foundation.exception.AppException
com.aquima.interactions.flow.FlowException
com.aquima.interactions.flow.exception.FlowNodeException
com.aquima.interactions.flow.exception.FlowActionException
- All Implemented Interfaces:
Serializable
This exception is used to indicate the processing of an action node failed due to an exception.
- Since:
- 5.0
- Author:
- O. Kerpershoek
- See Also:
-
Constructor Summary
ConstructorsConstructorDescriptionFlowActionException
(String flowName, String actionId, Throwable error) Constructs the exception with the action id and error. -
Method Summary
Modifier and TypeMethodDescriptionThis methods returns the ID of the action node that failed.Methods inherited from class com.aquima.interactions.flow.exception.FlowNodeException
getFlowName
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
Constructor Details
-
FlowActionException
Constructs the exception with the action id and error.- Parameters:
flowName
- The name of the flow containing the action node.actionId
- The ID of the action node that failed.error
- The exception that was raised by the action node.
-
-
Method Details
-
getActionId
This methods returns the ID of the action node that failed.- Returns:
- The ID of the action node that failed.
-