public class IllegalArgumentException extends RuntimeException
| Constructor and Description |
|---|
IllegalArgumentException()
Constructs a new
IllegalArgumentException that includes the
current stack trace. |
IllegalArgumentException(String detailMessage)
Constructs a new
IllegalArgumentException with the current stack
trace and the specified detail message. |
IllegalArgumentException(String message,
Throwable cause)
Constructs a new
IllegalArgumentException with the current stack
trace, the specified detail message and the specified cause. |
IllegalArgumentException(Throwable cause)
Constructs a new
IllegalArgumentException with the current stack
trace and the specified cause. |
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toStringpublic IllegalArgumentException()
IllegalArgumentException that includes the
current stack trace.public IllegalArgumentException(String detailMessage)
IllegalArgumentException with the current stack
trace and the specified detail message.detailMessage - the detail message for this exception.public IllegalArgumentException(String message, Throwable cause)
IllegalArgumentException with the current stack
trace, the specified detail message and the specified cause.message - the detail message for this exception.cause - the cause of this exception, may be null.public IllegalArgumentException(Throwable cause)
IllegalArgumentException with the current stack
trace and the specified cause.cause - the cause of this exception, may be null.