Package java.lang

Class ClassCastException

    • Constructor Detail

      • ClassCastException

        public ClassCastException()
        Constructs a new ClassCastException that includes the current stack trace.
      • ClassCastException

        public ClassCastException​(String detailMessage)
        Constructs a new ClassCastException with the current stack trace and the specified detail message.
        Parameters:
        detailMessage - the detail message for this exception.