Save This Page
Home » apache-harmony-6.0-src-r917296-snapshot » 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 when the an array is indexed with a value less than zero, or greater than or equal to the size of the array.
Constructor:
 public ArrayIndexOutOfBoundsException() 
 public ArrayIndexOutOfBoundsException(int index) 
 public ArrayIndexOutOfBoundsException(String detailMessage) 
    Constructs a new {@code ArrayIndexOutOfBoundsException} with the current stack trace and the specified detail message.
    Parameters:
    detailMessage - the detail message for this exception.
Methods from java.lang.Throwable:
fillInStackTrace,   getCause,   getLocalizedMessage,   getMessage,   getStackTrace,   initCause,   printStackTrace,   printStackTrace,   printStackTrace,   setStackTrace,   toString
Methods from java.lang.Object:
clone,   equals,   finalize,   getClass,   hashCode,   notify,   notifyAll,   toString,   wait,   wait,   wait