| Package java.lang |
Previous |
Java API |
Index |
Next |
public class java.lang.IllegalArgumentException
extends java.lang.RuntimeException
{
// Constructors
public IllegalArgumentException();
public IllegalArgumentException(String s);
}
Thrown to indicate that a method has been passed an illegal or inappropriate argument.
public IllegalArgumentException()Constructs an IllegalArgumentException with no detail message.
public IllegalArgumentException(String s)Constructs an IllegalArgumentException with the specified detail message.
Parameter Description s the detail message
| © 1996 Sun Microsystems, Inc. All rights reserved. |