Home » openjdk-7 » java » lang » [javadoc | source]
java.lang
public class: IndexOutOfBoundsException [javadoc | source]
java.lang.Object
   java.lang.Throwable
      java.lang.Exception
         java.lang.RuntimeException
            java.lang.IndexOutOfBoundsException

All Implemented Interfaces:
    Serializable

Direct Known Subclasses:
    ArrayIndexOutOfBoundsException, StringIndexOutOfBoundsException

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.

Fields inherited from java.lang.RuntimeException:
serialVersionUID
Fields inherited from java.lang.Exception:
serialVersionUID
Constructor:
 public IndexOutOfBoundsException() 
 public IndexOutOfBoundsException(String s) 
    Constructs an IndexOutOfBoundsException with the specified detail message.
    Parameters:
    s - the detail message.
Methods from java.lang.Throwable:
addSuppressed,   fillInStackTrace,   getCause,   getLocalizedMessage,   getMessage,   getStackTrace,   getStackTraceDepth,   getStackTraceElement,   getSuppressed,   initCause,   printStackTrace,   printStackTrace,   printStackTrace,   setStackTrace,   toString
Methods from java.lang.Object:
clone,   equals,   finalize,   getClass,   hashCode,   notify,   notifyAll,   toString,   wait,   wait,   wait