Java in a Nutshell

Previous Chapter 25
The java.lang Package
Next
 

25.24 java.lang.IllegalArgumentException (JDK 1.0)

Signals an illegal argument to a method. See subclasses IllegalThreadStateException and NumberFormatException.

public class IllegalArgumentException extends RuntimeException {
    // Public Constructors
            public IllegalArgumentException();
            public IllegalArgumentException(String s);
}

Hierarchy:

Object->Throwable(Serializable)->Exception->RuntimeException->IllegalArgumentException

Extended By:

IllegalThreadStateException, NumberFormatException

Thrown By:

Array.get(), Array.getBoolean(), Array.getByte(), Array.getChar(), Array.getDouble(), Array.getFloat(), Array.getInt(), Array.getLength(), Array.getLong(), Array.getShort(), Array.newInstance(), Array.set(), Array.setBoolean(), Array.setByte(), Array.setChar(), Array.setDouble(), Array.setFloat(), Array.setInt(), Array.setLong(), Array.setShort(), BigDecimal.divide(), BigDecimal.setScale(), BigInteger(), Constructor.newInstance(), Field.get(), Field.getBoolean(), Field.getByte(), Field.getChar(), Field.getDouble(), Field.getFloat(), Field.getInt(), Field.getLong(), Field.getShort(), Field.set(), Field.setBoolean(), Field.setByte(), Field.setChar(), Field.setDouble(), Field.setFloat(), Field.setInt(), Field.setLong(), Field.setShort(), Method.invoke(), PropertyEditor.setAsText(), PropertyEditorSupport.setAsText()


Previous Home Next
java.lang.IllegalAccessException (JDK 1.0) Book Index java.lang.IllegalMonitorStateException (JDK 1.0)

Java in a Nutshell Java Language Reference Java AWT Java Fundamental Classes Exploring Java
This HTML Help has been published using the chm2web software.