Signals that the index used to access a character of a String or StringBuffer is less than zero or is too large. Figure 10-61. java.lang.StringIndexOutOfBoundsExceptionpublic class StringIndexOutOfBoundsException extends IndexOutOfBoundsException { // Public Constructors public StringIndexOutOfBoundsException ( ); public StringIndexOutOfBoundsException (int index ); public StringIndexOutOfBoundsException (String s ); } |