Package java.lang

Class Error

    • Constructor Detail

      • Error

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

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

        public Error​(String detailMessage,
                     Throwable throwable)
        Constructs a new Error with the current stack trace, the specified detail message and the specified cause.
        Parameters:
        detailMessage - the detail message for this error.
        throwable - the cause of this error.
      • Error

        public Error​(Throwable throwable)
        Constructs a new Error with the current stack trace and the specified cause.
        Parameters:
        throwable - the cause of this error.