Class 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 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.