#

| Chapter 25 The java.lang Package |

## 25.4 java.lang.ArrayStoreException (JDK 1.0)

###

Signals an attempt to store the wrong type of object into an array.

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

### Hierarchy:

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

java.lang.ArrayIndexOutOfBoundsException (JDK 1.0) |  | java.lang.Boolean (JDK 1.0)