#

| Chapter 25 The java.lang Package |

## 25.29 java.lang.IndexOutOfBoundsException (JDK 1.0)

###

Signals that an index is out of bounds. See the subclasses `ArrayIndexOutOfBoundsException` and `StringIndexOutOfBoundsException`.

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

### Hierarchy:

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

### Extended By:

ArrayIndexOutOfBoundsException, StringIndexOutOfBoundsException

java.lang.IncompatibleClassChangeError (JDK 1.0) |  | java.lang.InstantiationError (JDK 1.0)