Class TypeCheckException

  • All Implemented Interfaces:
    java.io.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​(java.lang.Class<?> expected, java.lang.Object actual)  
      TypeCheckException​(java.lang.String message)  
      TypeCheckException​(org.dmg.pmml.DataType expected, java.lang.Object actual)  
    • Method Summary

      • 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
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
    • Constructor Detail

      • TypeCheckException

        public TypeCheckException​(java.lang.String message)
      • TypeCheckException

        public TypeCheckException​(org.dmg.pmml.DataType expected,
                                  java.lang.Object actual)
      • TypeCheckException

        public TypeCheckException​(java.lang.Class<?> expected,
                                  java.lang.Object actual)