java::lang::StringIndexOutOfBoundsException Class Reference

Inheritance diagram for java::lang::StringIndexOutOfBoundsException:

Inheritance graph
java::lang::IndexOutOfBoundsExceptionjava::lang::RuntimeExceptionjava::lang::Exceptionjava::lang::Throwablejava::lang::Object
[legend]
Collaboration diagram for java::lang::StringIndexOutOfBoundsException:

Collaboration graph
java::lang::IndexOutOfBoundsExceptionjava::lang::RuntimeExceptionjava::lang::Exceptionjava::lang::Throwablejava::lang::Objectjava::lang::Stringjava::lang::Interfacejava::lang::ObjectRefjava::lang::Comparable
[legend]

List of all members.


Detailed Description

Thrown to indicate that a string has been accessed with an illegal index.

The index is either negative or greater than or equal to the size of the array.

Author:
Yuh-Jye Chang
Version:
1.18, 02/02/00
Since:
JDK1.0

Public Member Functions

 StringIndexOutOfBoundsException (const String &message=nilCString)
 Constructs an StringIndexOutOfBoundsException class with the specified detail message.
 StringIndexOutOfBoundsException (jint index)
 Constructs a new StringIndexOutOfBoundsException class with an argument indicating the illegal index.

Constructor & Destructor Documentation

java::lang::StringIndexOutOfBoundsException::StringIndexOutOfBoundsException ( const String message = nilCString  ) 

Constructs an StringIndexOutOfBoundsException class with the specified detail message.

Parameters:
s the detail message.

java::lang::StringIndexOutOfBoundsException::StringIndexOutOfBoundsException ( jint  index  ) 

Constructs a new StringIndexOutOfBoundsException class with an argument indicating the illegal index.

Parameters:
index the illegal index.


The documentation for this class was generated from the following file:
Generated on Fri May 16 11:56:41 2008 for CrossPlatformJavaLikeC++API by  doxygen 1.5.3