DthingApi
Public Member Functions | List of all members
java.lang.StringIndexOutOfBoundsException Class Reference
Inheritance diagram for java.lang.StringIndexOutOfBoundsException:
java.lang.IndexOutOfBoundsException java.lang.RuntimeException java.lang.Exception java.lang.Throwable

Public Member Functions

 StringIndexOutOfBoundsException ()
 
 StringIndexOutOfBoundsException (int index)
 
 StringIndexOutOfBoundsException (String detailMessage)
 
 StringIndexOutOfBoundsException (String s, int index)
 
 StringIndexOutOfBoundsException (int sourceLength, int index)
 
 StringIndexOutOfBoundsException (String s, int offset, int count)
 
 StringIndexOutOfBoundsException (int sourceLength, int offset, int count)
 
- Public Member Functions inherited from java.lang.IndexOutOfBoundsException
 IndexOutOfBoundsException ()
 
 IndexOutOfBoundsException (String detailMessage)
 
- Public Member Functions inherited from java.lang.RuntimeException
 RuntimeException ()
 
 RuntimeException (String detailMessage)
 
- Public Member Functions inherited from java.lang.Exception
 Exception ()
 
 Exception (String detailMessage)
 
- Public Member Functions inherited from java.lang.Throwable
 Throwable ()
 
 Throwable (String detailMessage)
 
String getMessage ()
 
String getLocalizedMessage ()
 
void printStackTrace ()
 
String toString ()
 

Detailed Description

Thrown when the a string is indexed with a value less than zero, or greater than or equal to the size of the array.

Constructor & Destructor Documentation

◆ StringIndexOutOfBoundsException() [1/7]

java.lang.StringIndexOutOfBoundsException.StringIndexOutOfBoundsException ( )
inline

Constructs a new

that includes the current stack trace.

◆ StringIndexOutOfBoundsException() [2/7]

java.lang.StringIndexOutOfBoundsException.StringIndexOutOfBoundsException ( int  index)
inline

Constructs a new

with the current stack trace and a detail message that is based on the specified invalid

index

.

Parameters
indexthe index which is out of bounds.

◆ StringIndexOutOfBoundsException() [3/7]

java.lang.StringIndexOutOfBoundsException.StringIndexOutOfBoundsException ( String  detailMessage)
inline

Constructs a new

with the current stack trace and the specified detail message.

Parameters
detailMessagethe detail message for this exception.

◆ StringIndexOutOfBoundsException() [4/7]

java.lang.StringIndexOutOfBoundsException.StringIndexOutOfBoundsException ( String  s,
int  index 
)
inline

Used internally for consistent high-quality error reporting.

◆ StringIndexOutOfBoundsException() [5/7]

java.lang.StringIndexOutOfBoundsException.StringIndexOutOfBoundsException ( int  sourceLength,
int  index 
)
inline

Used internally for consistent high-quality error reporting.

◆ StringIndexOutOfBoundsException() [6/7]

java.lang.StringIndexOutOfBoundsException.StringIndexOutOfBoundsException ( String  s,
int  offset,
int  count 
)
inline

Used internally for consistent high-quality error reporting.

◆ StringIndexOutOfBoundsException() [7/7]

java.lang.StringIndexOutOfBoundsException.StringIndexOutOfBoundsException ( int  sourceLength,
int  offset,
int  count 
)
inline

Used internally for consistent high-quality error reporting.


The documentation for this class was generated from the following file: