Android Guides | Samples

Java.Lang.StringIndexOutOfBoundsException Class

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

See Also: StringIndexOutOfBoundsException

Syntax

[Android.Runtime.Register("java/lang/StringIndexOutOfBoundsException", DoNotGenerateAcw=true)]
public class StringIndexOutOfBoundsException : IndexOutOfBoundsException

Remarks

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

[Android Documentation]

Requirements

Namespace: Java.Lang
Assembly: Mono.Android (in Mono.Android.dll)
Assembly Versions: 0.0.0.0
Since: Added in API level 1

The members of Java.Lang.StringIndexOutOfBoundsException are listed below.

See Also: IndexOutOfBoundsException

Public Constructors

Constructs a new StringIndexOutOfBoundsException that includes the current stack trace.
Constructs a new StringIndexOutOfBoundsException with the current stack trace and a detail message that is based on the specified invalid index.
Constructs a new StringIndexOutOfBoundsException with the current stack trace and the specified detail message.

Protected Constructors

A constructor used when creating managed representations of JNI objects; called by the runtime.

Protected Properties

[read-only]
override
ThresholdClassIntPtr. This API supports the Mono for Android infrastructure and is not intended to be used directly from your code.
[read-only]
override
ThresholdTypeType. This API supports the Mono for Android infrastructure and is not intended to be used directly from your code.