Java in a Nutshell

Previous Chapter 25
The java.lang Package
Next
 

25.59 java.lang.StringIndexOutOfBoundsException (JDK 1.0)

Signals that the index used to access a character of a String or StringBuffer is less than zero or is too large.

public class StringIndexOutOfBoundsException extends IndexOutOfBoundsException {
    // Public Constructors
            public StringIndexOutOfBoundsException();
            public StringIndexOutOfBoundsException(String s);
            public StringIndexOutOfBoundsException(int index);
}

Hierarchy:

Object->Throwable(Serializable)->Exception->RuntimeException-> IndexOutOfBoundsException->StringIndexOutOfBoundsException


Previous Home Next
java.lang.StringBuffer (JDK 1.0) Book Index java.lang.System (JDK 1.0)

Java in a Nutshell Java Language Reference Java AWT Java Fundamental Classes Exploring Java