java.lang
Class IndexOutOfBoundsException

java.lang.Object
  |
  +--java.lang.Throwable
        |
        +--java.lang.Exception
              |
              +--java.lang.RuntimeException
                    |
                    +--java.lang.IndexOutOfBoundsException
All Implemented Interfaces:
Serializable
Direct Known Subclasses:
ArrayIndexOutOfBoundsException, StringIndexOutOfBoundsException, UndefinedVariableException

public class IndexOutOfBoundsException
extends RuntimeException

Untamed: 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.

Since:
JDK1.0
Version:
1.9, 12/03/01
Author:
Frank Yellin
See Also:
Serialized Form

Field Summary
 
Fields inherited from class java.lang.RuntimeException
serialVersionUID
 
Fields inherited from class java.lang.Throwable
 
Constructor Summary
IndexOutOfBoundsException()
          Enabled: Constructs an IndexOutOfBoundsException with no detail message.
IndexOutOfBoundsException(String s)
          Enabled: Constructs an IndexOutOfBoundsException with the specified detail message.
 
Methods inherited from class java.lang.Throwable
backtrace, eStack, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, initCause, javaStack, leaf, printStackTrace, printStackTrace, printStackTrace, printThrowableOn, setStackTrace, toString, unwrap
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

IndexOutOfBoundsException

public IndexOutOfBoundsException()
Enabled: Constructs an IndexOutOfBoundsException with no detail message.


IndexOutOfBoundsException

public IndexOutOfBoundsException(String s)
Enabled: Constructs an IndexOutOfBoundsException with the specified detail message.

Parameters:
s - the detail message.


comments?