Java in a Nutshell

Previous Chapter 25
The java.lang Package
Next
 

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


Previous Home Next
java.lang.IncompatibleClassChangeError (JDK 1.0) Book Index java.lang.InstantiationError (JDK 1.0)

Java in a Nutshell Java Language Reference Java AWT Java Fundamental Classes Exploring Java