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.
-
ArrayIndexOutOfBoundsException()
- Constructs an ArrayIndexOutOfBoundsException with no detail message.
-
ArrayIndexOutOfBoundsException(int)
- Constructs a new ArrayIndexOutOfBoundsException class initialized to
the specific index.
-
ArrayIndexOutOfBoundsException(String)
- Constructs an ArrayIndexOutOfBoundsException class with the specified detail
message.
ArrayIndexOutOfBoundsException
public ArrayIndexOutOfBoundsException()
- Constructs an ArrayIndexOutOfBoundsException with no detail message.
A detail message is a String that describes this particular exception.
ArrayIndexOutOfBoundsException
public ArrayIndexOutOfBoundsException(int index)
- Constructs a new ArrayIndexOutOfBoundsException class initialized to
the specific index.
- Parameters:
- index - the index where the error occurred
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