Class TypeCastException

    • Constructor Summary

      Constructors 
      Constructor Description
      TypeCastException()
      Create a new TypeCastException with no message or cause.
      TypeCastException​(java.lang.String message)
      Create a new TypeCastException with the specified message.
      TypeCastException​(java.lang.String message, java.lang.Throwable cause)
      Create a new TypeCastException with the specified message and cause.
      TypeCastException​(java.lang.Throwable cause)
      Create a new TypeCastException with the specified cause.
    • 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

      • TypeCastException

        public TypeCastException()
        Create a new TypeCastException with no message or cause.
      • TypeCastException

        public TypeCastException​(java.lang.String message)
        Create a new TypeCastException with the specified message.
      • TypeCastException

        public TypeCastException​(java.lang.Throwable cause)
        Create a new TypeCastException with the specified cause.
      • TypeCastException

        public TypeCastException​(java.lang.String message,
                                 java.lang.Throwable cause)
        Create a new TypeCastException with the specified message and cause.