java.lang
Class IllegalArgumentException
java.lang.Object
|
+--java.lang.Throwable
|
+--java.lang.Exception
|
+--java.lang.RuntimeException
|
+--java.lang.IllegalArgumentException
- All Implemented Interfaces:
- Serializable
- Direct Known Subclasses:
- IllegalThreadStateException, InvalidParameterException, NumberFormatException
- public class IllegalArgumentException
- extends RuntimeException
Untamed: Thrown to indicate that a method has been passed an illegal or
inappropriate argument.
- Since:
- JDK1.0
- Version:
- 1.18, 12/03/01
- Author:
- unascribed
- See Also:
java.lang.Thread#setPriority(int)
,
Serialized Form
Fields inherited from class java.lang.Throwable |
|
Methods inherited from class java.lang.Throwable |
backtrace, eStack, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, initCause, javaStack, leaf, printStackTrace, printStackTrace, printStackTrace, printThrowableOn, setStackTrace, toString, unwrap |
IllegalArgumentException
public IllegalArgumentException()
- Enabled: Constructs an
IllegalArgumentException
with no
detail message.
IllegalArgumentException
public IllegalArgumentException(String s)
- Enabled: Constructs an
IllegalArgumentException
with the
specified detail message.
- Parameters:
s
- the detail message.
comments?