Package java.lang

Class InstantiationException

    • Constructor Detail

      • InstantiationException

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

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