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

All Implemented Interfaces:
    Serializable

Thrown to indicate that an array has been accessed with an illegal index. The index is either negative or greater than or equal to the size of the array.
Fields inherited from java.lang.RuntimeException:
serialVersionUID
Fields inherited from java.lang.Exception:
serialVersionUID
Constructor:
 public ArrayIndexOutOfBoundsException() 
 public ArrayIndexOutOfBoundsException(int index) 
 public ArrayIndexOutOfBoundsException(String s) 
    Constructs an ArrayIndexOutOfBoundsException class 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