Class FlowConditionException
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.FlowConditionException
- All Implemented Interfaces:
Serializable
This exception is used to indicate the processing of a condition node failed. The processing of a condition can fail
due to an exception during the evaluation of an expression, or when the alternatives of the condition are incomplete.
- Since:
- 7.0
- Author:
- O. Kerpershoek
- See Also:
-
Constructor Summary
ConstructorsConstructorDescriptionFlowConditionException
(String flowName, String conditionId, String message) Constructs the exception with the condition id and error message.FlowConditionException
(String flowName, String conditionId, Throwable error) Constructs the exception with the condition id and error. -
Method Summary
Modifier and TypeMethodDescriptionThis methods returns the ID of the condition 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
-
FlowConditionException
Constructs the exception with the condition id and error message.- Parameters:
flowName
- The name of the flow containing the action node.conditionId
- The ID of the condition node that failed.message
- The message that was raised by the action node.
-
FlowConditionException
Constructs the exception with the condition id and error.- Parameters:
flowName
- The name of the flow containing the action node.conditionId
- The ID of the condition node that failed.error
- The exception that was raised by the action node.
-
-
Method Details
-
getConditionId
This methods returns the ID of the condition node that failed.- Returns:
- The ID of the condition node that failed.
-