java.lang.Object java.lang.Throwable java.lang.Exception java.lang.RuntimeException java.lang.IllegalArgumentException
public class IllegalArgumentException
Thrown to indicate that a method has been passed an illegal or inappropriate argument.
Thread.setPriority(int)
, Serialized Form
fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
IllegalArgumentException
public 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)
Note that the detail message associated with cause
is not automatically incorporated in this exception's detail message.
message
- the detail message (which is saved for later retrieval by the Throwable.getMessage()
method).
cause
- the cause (which is saved for later retrieval by the Throwable.getCause()
method). (A null value is permitted, and indicates that the cause is nonexistent or unknown.)
public IllegalArgumentException(Throwable cause)
PrivilegedActionException
).
cause
- the cause (which is saved for later retrieval by the Throwable.getCause()
method). (A null value is permitted, and indicates that the cause is nonexistent or unknown.)
Copyright © 2004, 2010 Oracle and/or its affiliates. All rights reserved. Use is subject to license terms. Also see the documentation redistribution policy.
RetroSearch is an open source project built by @garambo | Open a GitHub Issue
Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo
HTML:
3.2
| Encoding:
UTF-8
| Version:
0.7.4