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 classStringIndexOutOfBoundsExceptionextends IndexOutOfBoundsException { //Public ConstructorspublicStringIndexOutOfBoundsException(); publicStringIndexOutOfBoundsException(Strings); publicStringIndexOutOfBoundsException(intindex); }
Hierarchy:
Object->Throwable(Serializable)->Exception->RuntimeException-> IndexOutOfBoundsException->StringIndexOutOfBoundsException