public class java.lang
IndexOutOfBoundsException


Show All Login
Java SE 6
  
Extends: Throwable > Exception > RuntimeException
Extended by: ArrayIndexOutOfBoundsException, StringIndexOutOfBoundsException
Details
Thrown to indicate that an index of some sort (such as to an array, to a string, or to a vector) is out of range.

Applications can subclass this class to indicate similar exceptions.
version1.12, 11/17/05
sinceJDK1.0


Constructors
public IndexOutOfBoundsException()
Constructs an IndexOutOfBoundsException with no detail message.
public IndexOutOfBoundsException(String s) Details
Constructs an IndexOutOfBoundsException with the specified detail message.
sthe detail message.