ArrayIndexOutOfBoundsException.ArrayIndexOutOfBoundsException

ArrayIndexOutOfBoundsException.ArrayIndexOutOfBoundsException

Class Overview | Class Members | This Package | All Packages

Syntax 1
public ArrayIndexOutOfBoundsException()
Description
Constructs an ArrayIndexOutOfBoundsException with no detail message.



Syntax 2
public ArrayIndexOutOfBoundsException( int index )
Parameters
index
the illegal index.
Description
Constructs a new ArrayIndexOutOfBoundsException class with an argument indicating the illegal index.



Syntax 3
public ArrayIndexOutOfBoundsException( String s )
Parameters
s
the detail message.
Description
Constructs an ArrayIndexOutOfBoundsException class with the specified detail message.