Package java.lang Previous
Previous
Java API
Java API
Index
Index
Next
Next

Class IllegalArgumentException

Constructors

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.


Constructors


IllegalArgumentException

public IllegalArgumentException() 

Constructs an IllegalArgumentException with no detail message.


IllegalArgumentException

public IllegalArgumentException(String  s) 

Constructs an IllegalArgumentException with the specified detail message.

ParameterDescription
s the detail message



© 1996 Sun Microsystems, Inc. All rights reserved.