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); }
Object->Throwable(Serializable)->Exception->RuntimeException-> IndexOutOfBoundsException->StringIndexOutOfBoundsException