Documentation  › java.lang  › IndexOutOfBoundsException
 
 


  IndexOutOfBoundsException
  public

  Inherits From:   RuntimeException : Exception : Throwable : Object
  Conforms To:   none
  Declared In:   java.lang


Exception Description
 
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.



Class Variables
 
None declared in this exception.


Instance Variables
 
None declared in this exception.


Constructors
 
IndexOutOfBoundsException
public IndexOutOfBoundsException( )

Constructs an IndexOutOfBoundsException with no detail message.


IndexOutOfBoundsException
public IndexOutOfBoundsException( String s )

Constructs an IndexOutOfBoundsException with the specified detail message.


Class Methods
 
None declared in this exception.


Instance Methods
 
None declared in this exception.


Known Subclasses
 
ArrayIndexOutOfBoundsException, StringIndexOutOfBoundsException



 
 
  dydoc
  3/10/05