Package java.lang

Class IllegalStateException

    • Constructor Detail

      • IllegalStateException

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

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

        public IllegalStateException​(String message,
                                     Throwable cause)
        Constructs a new IllegalStateException with the current stack trace, the specified detail message and the specified cause.
        Parameters:
        message - the detail message for this exception.
        cause - the cause of this exception.
        Since:
        1.5
      • IllegalStateException

        public IllegalStateException​(Throwable cause)
        Constructs a new IllegalStateException with the current stack trace and the specified cause.
        Parameters:
        cause - the cause of this exception, may be null.
        Since:
        1.5