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

Field Summary
 
Fields inherited from class java.lang.RuntimeException
serialVersionUID
 
Fields inherited from class java.lang.Throwable
 
Constructor Summary
IllegalArgumentException()
          Enabled: Constructs an IllegalArgumentException with no detail message.
IllegalArgumentException(String s)
          Enabled: Constructs an IllegalArgumentException with the specified detail message.
 
Methods inherited from class java.lang.Throwable
backtrace, eStack, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, initCause, javaStack, leaf, printStackTrace, printStackTrace, printStackTrace, printThrowableOn, setStackTrace, toString, unwrap
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

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?