java.lang
IllegalArgumentException
Declarationpublic class IllegalArgumentException extends RuntimeException
java.lang.Object
|
+--java.lang.Throwable
|
+--java.lang.Exception
|
+--java.lang.RuntimeException
|
+--java.lang.IllegalArgumentException
Direct Known Subclasses: IllegalThreadStateException, NumberFormatException
Description
Thrown to indicate that a method has been passed an illegal or inappropriate argument.
Since: JDK1.0, CLDC 1.0
Constructors
IllegalArgumentException()
IllegalArgumentException(String s)
Methods inherited from class Object
equals(Object), getClass(), hashCode(), notify(), notifyAll(), wait(), wait(), wait()
Methods inherited from class Throwable
getMessage(), printStackTrace(), toString()
Constructors
IllegalArgumentException()
Declaration:
public IllegalArgumentException()
Description:
Constructs an IllegalArgumentException with no detail message.
IllegalArgumentException(String)
Declaration:
public IllegalArgumentException(java.lang.String s)
Description:
Constructs an IllegalArgumentException with the specified detail message.
Parameters:
s - the detail message.
No comments:
Post a Comment