public class IllegalArgumentException extends RuntimeException
| Constructor and Description |
|---|
IllegalArgumentException()
Constructs an
IllegalArgumentException with no
detail message. |
IllegalArgumentException(String s)
Constructs an
IllegalArgumentException with the
specified detail message. |
IllegalArgumentException(String message,
Throwable cause)
Constructs an
IllegalArgumentException with the
specified detail message and cause. |
IllegalArgumentException(Throwable cause)
Constructs an
IllegalArgumentException with the
specified cause. |
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, initCause, printStackTrace, printStackTrace, toStringpublic IllegalArgumentException()
IllegalArgumentException with no
detail message.public IllegalArgumentException(String s)
IllegalArgumentException with the
specified detail message.s - the detail message.public IllegalArgumentException(String message, Throwable cause)
IllegalArgumentException with the
specified detail message and cause.message - The detail messagecause - The causepublic IllegalArgumentException(Throwable cause)
IllegalArgumentException with the
specified cause.cause - The cause