ArrayIndexOutOfBoundsException Constructors

Definition

Overloads

ArrayIndexOutOfBoundsException()

Constructs an ArrayIndexOutOfBoundsException with no detail message.

ArrayIndexOutOfBoundsException(Int32)

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

ArrayIndexOutOfBoundsException(String)

Constructs an ArrayIndexOutOfBoundsException class with the specified detail message.

ArrayIndexOutOfBoundsException(IntPtr, JniHandleOwnership)

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

ArrayIndexOutOfBoundsException()

Constructs an ArrayIndexOutOfBoundsException with no detail message.

[Android.Runtime.Register(".ctor", "()V", "")]
public ArrayIndexOutOfBoundsException ();
Attributes

Remarks

Constructs an ArrayIndexOutOfBoundsException with no detail message.

Java documentation for java.lang.ArrayIndexOutOfBoundsException.ArrayIndexOutOfBoundsException().

Portions of this page are modifications based on work created and shared by the Android Open Source Project and used according to terms described in the Creative Commons 2.5 Attribution License.

Applies to

ArrayIndexOutOfBoundsException(Int32)

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

[Android.Runtime.Register(".ctor", "(I)V", "")]
public ArrayIndexOutOfBoundsException (int index);
[<Android.Runtime.Register(".ctor", "(I)V", "")>]
new Java.Lang.ArrayIndexOutOfBoundsException : int -> Java.Lang.ArrayIndexOutOfBoundsException

Parameters

index
Int32

the illegal index.

Attributes

Remarks

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

The index is included in this exception's detail message. The exact presentation format of the detail message is unspecified.

Java documentation for java.lang.ArrayIndexOutOfBoundsException.ArrayIndexOutOfBoundsException(int).

Portions of this page are modifications based on work created and shared by the Android Open Source Project and used according to terms described in the Creative Commons 2.5 Attribution License.

Applies to

ArrayIndexOutOfBoundsException(String)

Constructs an ArrayIndexOutOfBoundsException class with the specified detail message.

[Android.Runtime.Register(".ctor", "(Ljava/lang/String;)V", "")]
public ArrayIndexOutOfBoundsException (string? s);
[<Android.Runtime.Register(".ctor", "(Ljava/lang/String;)V", "")>]
new Java.Lang.ArrayIndexOutOfBoundsException : string -> Java.Lang.ArrayIndexOutOfBoundsException

Parameters

s
String

the detail message.

Attributes

Remarks

Constructs an ArrayIndexOutOfBoundsException class with the specified detail message.

Java documentation for java.lang.ArrayIndexOutOfBoundsException.ArrayIndexOutOfBoundsException(java.lang.String).

Portions of this page are modifications based on work created and shared by the Android Open Source Project and used according to terms described in the Creative Commons 2.5 Attribution License.

Applies to

ArrayIndexOutOfBoundsException(IntPtr, JniHandleOwnership)

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

protected ArrayIndexOutOfBoundsException (IntPtr javaReference, Android.Runtime.JniHandleOwnership transfer);
new Java.Lang.ArrayIndexOutOfBoundsException : nativeint * Android.Runtime.JniHandleOwnership -> Java.Lang.ArrayIndexOutOfBoundsException

Parameters

javaReference
IntPtr

nativeint

A IntPtrcontaining a Java Native Interface (JNI) object reference.

transfer
JniHandleOwnership

A JniHandleOwnershipindicating how to handle javaReference

Remarks

Portions of this page are modifications based on work created and shared by the Android Open Source Project and used according to terms described in the Creative Commons 2.5 Attribution License.

Applies to