Class FlowFunctionException
- 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.FlowFunctionException
-
- All Implemented Interfaces:
Serializable
public class FlowFunctionException extends FlowNodeException
This exception is used to indicate the processing of an action node failed due to an exception.- Since:
- 10.3
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description FlowFunctionException(String flowName, String functionId, Throwable error)
Constructs the exception with the action id and error.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description String
getFunctionId()
This 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 Detail
-
FlowFunctionException
public FlowFunctionException(String flowName, String functionId, Throwable error)
Constructs the exception with the action id and error.- Parameters:
flowName
- The name of the flow containing the action node.functionId
- The ID of the action node that failed.error
- The exception that was raised by the action node.
-
-
Method Detail
-
getFunctionId
public String getFunctionId()
This methods returns the ID of the action node that failed.- Returns:
- The ID of the action node that failed.
-
-