Class TypeMismatch

  • All Implemented Interfaces:
    java.io.Serializable, IDLEntity

    public final class TypeMismatch
    extends UserException
    TypeMismatch is thrown by dynamic any accessor methods when type of the actual contents do not match what is trying to be accessed.
    • Constructor Summary

      Constructors 
      Constructor Description
      TypeMismatch()
      Constructs a TypeMismatch object.
      TypeMismatch​(java.lang.String reason)
      Constructs a TypeMismatch object.
    • Method Summary

      • Methods inherited from class java.lang.Throwable

        addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
      • Methods inherited from class java.lang.Object

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

      • TypeMismatch

        public TypeMismatch()
        Constructs a TypeMismatch object.
      • TypeMismatch

        public TypeMismatch​(java.lang.String reason)
        Constructs a TypeMismatch object.
        Parameters:
        reason - a String giving more information regarding the exception.