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
public class FlowNodeException extends FlowException
This exception is used for errors that are specific to a flow.- Since:
- 7.0
- Author:
- O. Kerpershoek, F. van der Meer
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description FlowNodeException(String message, String flowId, Throwable cause)
Constructs the exception with the required arguments.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description String
getFlowName()
This 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 Detail
-
FlowNodeException
public FlowNodeException(String message, String flowId, Throwable cause)
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 Detail
-
getFlowName
public String getFlowName()
This method returns the name of the flow containing the condition node.- Returns:
- The name of the flow containing the condition node.
-
-