Package org.jpmml.evaluator
Class TypeCheckException
- java.lang.Object
-
- java.lang.Throwable
-
- java.lang.Exception
-
- java.lang.RuntimeException
-
- org.jpmml.model.PMMLException
-
- org.jpmml.evaluator.EvaluationException
-
- org.jpmml.evaluator.TypeCheckException
-
- All Implemented Interfaces:
Serializable
public class TypeCheckException extends EvaluationException
Thrown to indicate a violation of PMML type system. This exception class can be regarded as the PMML equivalent of
ClassCastException.- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description TypeCheckException(Class<?> expected, Object actual)TypeCheckException(String message)TypeCheckException(org.dmg.pmml.DataType expected, Object actual)
-
Method Summary
-
Methods inherited from class org.jpmml.evaluator.EvaluationException
format, formatKey, formatName, formatValue
-
Methods inherited from class org.jpmml.model.PMMLException
ensureContext, getContext, initCause, toString
-
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, printStackTrace, printStackTrace, printStackTrace, setStackTrace
-
-