Class DecisionTreeException
- java.lang.Object
-
- java.lang.Throwable
-
- java.lang.Exception
-
- java.lang.RuntimeException
-
- com.aquima.interactions.foundation.exception.AppException
-
- com.aquima.interactions.dtree.exception.TreeEngineException
-
- com.aquima.interactions.dtree.exception.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:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description DecisionTreeException(String decisionTree, String message)
Constructs the exception with the name of the decision tree and the message.DecisionTreeException(String decisionTree, String message, Throwable cause)
Constructs the exception with the name of the decision tree and the message.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description String
getDecisionTree()
This method returns the name of the decision tree for which the exception was raised.-
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
-
-
-
Constructor Detail
-
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 Detail
-
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.
-
-