| public class java.lang StringIndexOutOfBoundsException
|
Java SE 6 |
String methods to indicate that an index
is either negative or greater than the size of the string. For
some methods such as the charAt method, this exception also is
thrown when the index is equal to the size of the string.
| version | 1.23, 11/17/05 |
| since | JDK1.0 |
| See also | charAt(int) |
| Constructors | |||
|---|---|---|---|
| public | StringIndexOutOfBoundsException() Details
Constructs a StringIndexOutOfBoundsException with no
detail message.
| ||
| public | StringIndexOutOfBoundsException(String s) Details
Constructs a StringIndexOutOfBoundsException with
the specified detail message.
| ||
| public | StringIndexOutOfBoundsException(int index) Details
Constructs a new StringIndexOutOfBoundsException
class with an argument indicating the illegal index.
| ||
| About DocWeb · Bundles · Export · Export All | Top 10 · Statistics · Login |
| About Sun · Contact · Privacy · Terms of Use · Trademarks | Java SE 6 · Copyright © 1994-2009 Sun Microsystems, Inc.All rights reserved. Use is subject to license terms |
![]() |
![]() |
|