Package java.lang

Class IllegalArgumentException

    • Constructor Detail

      • IllegalArgumentException

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

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

        public IllegalArgumentException​(String message,
                                        Throwable cause)
        Constructs a new IllegalArgumentException 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, may be null.
        Since:
        1.5
      • IllegalArgumentException

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