Packages This Package Prev Next Index
public class java.lang.StringIndexOutOfBoundsException extends java.lang.IndexOutOfBoundsException (I-§1.35) { // Constructors public StringIndexOutOfBoundsException(); §1.44.1 public StringIndexOutOfBoundsException(int index); §1.44.2 public StringIndexOutOfBoundsException(String s) §1.44.3 }Thrown by the charAt method (I-§1.16.8) in class class String and by other String methods to indicate that an index is either negative or greater than or equal to the size of the string.
public StringIndexOutOfBoundsException()
public StringIndexOutOfBoundsException(int index)
index
-
the illegalindex
public StringIndexOutOfBoundsException(String s)
s
-
the detail message
Packages This Package Prev Next IndexJava API Document (HTML generated by dkramer on April 22, 1996)