aicas logoJamaica 6.4 release 1

java.lang
Class ArrayIndexOutOfBoundsException

java.lang.Object
  extended by java.lang.Throwable
      extended by java.lang.Exception
          extended by java.lang.RuntimeException
              extended by java.lang.IndexOutOfBoundsException
                  extended by java.lang.ArrayIndexOutOfBoundsException
All Implemented Interfaces:
Serializable

public class ArrayIndexOutOfBoundsException
extends IndexOutOfBoundsException

ArrayIndexOutOfBoundsException is thrown when an attempt is made to access an array element with an index that is negative or larger or equal than the array length.

Since:
1.0
See Also:
Serialized Form

Constructor Summary
ArrayIndexOutOfBoundsException()
          Constructor for an ArrayIndexOutOfBoundsException with no detail message.
ArrayIndexOutOfBoundsException(int index)
          Constructor for an ArrayIndexOutOfBoundsException with a detail message referring to the given index.
ArrayIndexOutOfBoundsException(String s)
          Constructor for an ArrayIndexOutOfBoundsException with given detail message.
 
Method Summary
 
Methods inherited from class java.lang.Throwable
fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

ArrayIndexOutOfBoundsException

public ArrayIndexOutOfBoundsException()
Constructor for an ArrayIndexOutOfBoundsException with no detail message.


ArrayIndexOutOfBoundsException

public ArrayIndexOutOfBoundsException(int index)
Constructor for an ArrayIndexOutOfBoundsException with a detail message referring to the given index.

Parameters:
index - the index value that is out of bounds.

ArrayIndexOutOfBoundsException

public ArrayIndexOutOfBoundsException(String s)
Constructor for an ArrayIndexOutOfBoundsException with given detail message.

ensures

    (s != null IMPLIES getMessage().equals(s));
 

Parameters:
s - the detail message.

aicas logoJamaica 6.4 release 1

aicas GmbH, Karlsruhe, Germany —www.aicas.com
Copyright © 2001-2015 aicas GmbH. All Rights Reserved.