[Chapter 25] 25.59 java.lang.StringIndexOutOfBoundsException (JDK 1.0)

#

| Chapter 25 The java.lang Package |

## 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

java.lang.StringBuffer (JDK 1.0) |  | java.lang.System (JDK 1.0)