Class java.lang.ArrayIndexOutOfBoundsException
All Packages  Class Hierarchy  This Package  Previous  Next  Index

Class java.lang.ArrayIndexOutOfBoundsException

java.lang.Object
   |
   +----java.lang.Throwable
           |
           +----java.lang.Exception
                   |
                   +----java.lang.RuntimeException
                           |
                           +----java.lang.IndexOutOfBoundsException
                                   |
                                   +----java.lang.ArrayIndexOutOfBoundsException

public class ArrayIndexOutOfBoundsException
extends IndexOutOfBoundsException
Signals that an invalid array index has been used.

Constructor Index

 o ArrayIndexOutOfBoundsException()
Constructs an ArrayIndexOutOfBoundsException with no detail message.
 o ArrayIndexOutOfBoundsException(int)
Constructs a new ArrayIndexOutOfBoundsException class initialized to the specific index.
 o ArrayIndexOutOfBoundsException(String)
Constructs an ArrayIndexOutOfBoundsException class with the specified detail message.

Constructors

 o ArrayIndexOutOfBoundsException
  public ArrayIndexOutOfBoundsException()
Constructs an ArrayIndexOutOfBoundsException with no detail message. A detail message is a String that describes this particular exception.
 o ArrayIndexOutOfBoundsException
  public ArrayIndexOutOfBoundsException(int index)
Constructs a new ArrayIndexOutOfBoundsException class initialized to the specific index.
Parameters:
index - the index where the error occurred
 o ArrayIndexOutOfBoundsException
  public ArrayIndexOutOfBoundsException(String s)
Constructs an ArrayIndexOutOfBoundsException class with the specified detail message. A detail message is a String that describes this particular exception.
Parameters:
s - the String containing a detail message

All Packages  Class Hierarchy  This Package  Previous  Next  Index