java.lang
Class IndexOutOfBoundsException

java.lang.Object
  |
  +--java.lang.Throwable
        |
        +--java.lang.Exception
              |
              +--java.lang.RuntimeException
                    |
                    +--java.lang.IndexOutOfBoundsException
Direct Known Subclasses:
ArrayIndexOutOfBoundsException, StringIndexOutOfBoundsException

public class IndexOutOfBoundsException
extends RuntimeException

Signals that an index of some sort is out of bounds.


Constructor Summary
IndexOutOfBoundsException()
          Constructs an IndexOutOfBoundsException with no detail message.
IndexOutOfBoundsException(String s)
          Constructs a IndexOutOfBoundsException with the specified detail message.
 
Methods inherited from class java.lang.Throwable
fillInStackTrace, getMessage, printStackTrace, printStackTrace, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

IndexOutOfBoundsException

public IndexOutOfBoundsException()
Constructs an IndexOutOfBoundsException with no detail message. A detail message is a String that describes this particular exception.


IndexOutOfBoundsException

public IndexOutOfBoundsException(String s)
Constructs a IndexOutOfBoundsException with the specified detail message. A detail message is a String that describes this particular exception.

Parameters:
s - the detail message