Team LiB
Previous Section Next Section

StringIndexOutOfBoundsExceptionjava.lang

Java 1.0serializable unchecked

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.StringIndexOutOfBoundsException


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

    Team LiB
    Previous Section Next Section