Packages  This Package  Prev  Next  Index  

§1.32 Class IllegalArgumentException

public  class  java.lang.IllegalArgumentException
    extends  java.lang.RuntimeException  (I-§1.42)
        // Constructors
    public IllegalArgumentException();	§1.32.1
    public IllegalArgumentException(String  s);	§1.32.2
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.
s - the detail message

Packages  This Package  Prev  Next  Index
Java API Document (HTML generated by dkramer on April 22, 1996)
Copyright © 1996 Sun Microsystems, Inc. All rights reserved
Please send any comments or corrections to