Class DecisionTreeException

All Implemented Interfaces:
Serializable
Direct Known Subclasses:
DecisionTreeFinderException, DecisionTreeTypeException

public abstract class DecisionTreeException extends TreeEngineException
Base class for exceptions generated during the evaluation of a decision tree.
Since:
5.0
Author:
F. van der Meer
See Also:
  • Constructor Details

    • DecisionTreeException

      public DecisionTreeException(String decisionTree, String message)
      Constructs the exception with the name of the decision tree and the message.
      Parameters:
      decisionTree - The name of the decision tree.
      message - The message containing detailed information about the exception.
    • DecisionTreeException

      public DecisionTreeException(String decisionTree, String message, Throwable cause)
      Constructs the exception with the name of the decision tree and the message.
      Parameters:
      decisionTree - The name of the decision tree.
      message - The message containing detailed information about the exception.
      cause - The original cause of the exception.
  • Method Details

    • getDecisionTree

      public String getDecisionTree()
      This method returns the name of the decision tree for which the exception was raised.
      Returns:
      the name of the decision tree for which the exception was raised.