java.lang.Object | ||||
↳ | java.lang.Throwable | |||
↳ | java.lang.Exception | |||
↳ | java.lang.RuntimeException | |||
↳ | java.lang.IllegalArgumentException |
Known Direct Subclasses |
Thrown when a method is invoked with an argument which it can not reasonably deal with.
Public Constructors | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
|
Constructs a new
IllegalArgumentException
that includes the
current stack trace.
|
||||||||||
|
Constructs a new
IllegalArgumentException
with the current stack
trace and the specified detail message.
|
||||||||||
|
Constructs a new
IllegalArgumentException
with the current stack
trace, the specified detail message and the specified cause.
|
||||||||||
|
Constructs a new
IllegalArgumentException
with the current stack
trace and the specified cause.
|
[Expand]
Inherited Methods
|
|||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
From class
java.lang.Throwable
|
|||||||||||
From class
java.lang.Object
|
Constructs a new
IllegalArgumentException
that includes the
current stack trace.
Constructs a new
IllegalArgumentException
with the current stack
trace and the specified detail message.
detailMessage | the detail message for this exception. |
---|
Constructs a new
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
.
|
Constructs a new
IllegalArgumentException
with the current stack
trace and the specified cause.
cause |
the cause of this exception, may be
null
.
|
---|