Klasse java.lang.ArrayIndexOutOfBoundsException | 1.0 |
java.lang.Object
|
+--java.lang.Throwable
|
+--java.lang.Exception
|
+--java.lang.RuntimeException
|
+--java.lang.IndexOutOfBoundsException
|
+--java.lang.ArrayIndexOutOfBoundsException
Deklaration
public class ArrayIndexOutOfBoundsException
extends java.lang.IndexOutOfBoundsException
Beschreibung
Diese Klasse dient zur Auslösung einer ArrayIndexOutOfBoundsException.
Die ArrayIndexOutOfBoundsException tritt auf, wenn versucht wird, ein Array mit einem ungültigen Index anzusprechen.
Konstruktoren im Detail
-
public ArrayIndexOutOfBoundsException()
-
Erzeugt ein neues ArrayIndexOutOfBoundsException-Objekt ohne Angabe einer Fehlermeldung.
-
public ArrayIndexOutOfBoundsException(int index)
-
Erzeugt ein ArrayIndexOutOfBoundsException-Objekt, das eine Fehlermeldung ausgibt, die den auslösenden Wert index enthält.
-
public ArrayIndexOutOfBoundsException(String s)
-
Erzeugt ein neues ArrayIndexOutOfBoundsException-Objekt mit der Fehlermeldung s, die nähere Informationen über den speziellen Fehlerfall enthält.
Copyright © 2002 dpunkt.Verlag, Heidelberg. Alle Rechte vorbehalten.