[Chapter 25] 25.24 java.lang.IllegalArgumentException (JDK 1.0)
Author: David Flanagan
Date: Thu Jul 31 16:26:58 1997

#

| Chapter 25 The java.lang Package |

## 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()

java.lang.IllegalAccessException (JDK 1.0) |  | java.lang.IllegalMonitorStateException (JDK 1.0)