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
public class FlowConditionException extends FlowNodeException
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:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description FlowConditionException(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
All Methods Instance Methods Concrete Methods Modifier and Type Method Description String
getConditionId()
This 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 Detail
-
FlowConditionException
public FlowConditionException(String flowName, String conditionId, String message)
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
public FlowConditionException(String flowName, String conditionId, Throwable error)
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 Detail
-
getConditionId
public String getConditionId()
This methods returns the ID of the condition node that failed.- Returns:
- The ID of the condition node that failed.
-
-