1 *java.lang.IllegalArgumentException* *IllegalArgumentException* Thrown to indica
3 public class IllegalArgumentException
4 extends |java.lang.RuntimeException|
6 |java.lang.IllegalArgumentException_Description|
7 |java.lang.IllegalArgumentException_Fields|
8 |java.lang.IllegalArgumentException_Constructors|
9 |java.lang.IllegalArgumentException_Methods|
11 ================================================================================
13 *java.lang.IllegalArgumentException_Constructors*
14 |java.lang.IllegalArgumentException()|Constructs an IllegalArgumentException wi
15 |java.lang.IllegalArgumentException(String)|Constructs an IllegalArgumentExcept
16 |java.lang.IllegalArgumentException(String,Throwable)|Constructs a new exceptio
17 |java.lang.IllegalArgumentException(Throwable)|Constructs a new exception with
19 *java.lang.IllegalArgumentException_Description*
21 Thrown to indicate that a method has been passed an illegal or inappropriate
25 *java.lang.IllegalArgumentException()*
27 public IllegalArgumentException()
29 Constructs an IllegalArgumentException with no detail message.
32 *java.lang.IllegalArgumentException(String)*
34 public IllegalArgumentException(java.lang.String s)
36 Constructs an IllegalArgumentException with the specified detail message.
38 s - the detail message.
40 *java.lang.IllegalArgumentException(String,Throwable)*
42 public IllegalArgumentException(
43 java.lang.String message,
44 java.lang.Throwable cause)
46 Constructs a new exception with the specified detail message and cause.
48 Note that the detail message associated with cause is not automatically
49 incorporated in this exception's detail message.
51 message - the detail message (which is saved for later retrieval by the {@link
52 Throwable#getMessage()} method).
53 cause - the cause (which is saved for later retrieval by the {@link
54 Throwable#getCause()} method). (A null value is permitted, and indicates
55 that the cause is nonexistent or unknown.)
57 *java.lang.IllegalArgumentException(Throwable)*
59 public IllegalArgumentException(java.lang.Throwable cause)
61 Constructs a new exception with the specified cause and a detail message of
62 (cause==null ? null : cause.toString()) (which typically contains the class and
63 detail message of cause). This constructor is useful for exceptions that are
64 little more than wrappers for other throwables (for example,
65 (|java.security.PrivilegedActionException|) ).
67 cause - the cause (which is saved for later retrieval by the {@link
68 Throwable#getCause()} method). (A null value is permitted, and indicates
69 that the cause is nonexistent or unknown.)