Class FlowNodeException
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
- All Implemented Interfaces:
Serializable
- Direct Known Subclasses:
FlowActionException
,FlowConditionException
,FlowExitEventException
,FlowFunctionException
This exception is used for errors that are specific to a flow.
- Since:
- 7.0
- Author:
- O. Kerpershoek, F. van der Meer
- See Also:
-
Constructor Summary
ConstructorsConstructorDescriptionFlowNodeException
(String message, String flowId, Throwable cause) Constructs the exception with the required arguments. -
Method Summary
Modifier and TypeMethodDescriptionThis method returns the name of the flow containing the condition node.Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
Constructor Details
-
FlowNodeException
Constructs the exception with the required arguments.- Parameters:
message
- The message containing an explanation of the error.flowId
- The ID of the flow the error was detected in.cause
- The cause of the error.
-
-
Method Details
-
getFlowName
This method returns the name of the flow containing the condition node.- Returns:
- The name of the flow containing the condition node.
-