Team LiB
Previous Section Next Section

IndexOutOfBoundsExceptionjava.lang

Java 1.0serializable unchecked

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

Figure 10-31. java.lang.IndexOutOfBoundsException


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

Subclasses

ArrayIndexOutOfBoundsException, StringIndexOutOfBoundsException

    Team LiB
    Previous Section Next Section