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
Base class for exceptions generated during the evaluation of a decision tree.
- Since:
- 5.0
- Author:
- F. van der Meer
- See Also:
-
Constructor Summary
ConstructorsConstructorDescriptionDecisionTreeException
(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
Modifier and TypeMethodDescriptionThis 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 Details
-
DecisionTreeException
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
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
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.
-