ArrayIndexOutOfBoundsException ArrayIndexOutOfBoundsException Constructors

Definition

Overloads

ArrayIndexOutOfBoundsException()

Constructs a new ArrayIndexOutOfBoundsException that includes the current stack trace.

ArrayIndexOutOfBoundsException(Int32) ArrayIndexOutOfBoundsException(Int32)

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

ArrayIndexOutOfBoundsException(String) ArrayIndexOutOfBoundsException(String)

Constructs a new ArrayIndexOutOfBoundsException with the current stack trace and the specified detail message.

ArrayIndexOutOfBoundsException(IntPtr, JniHandleOwnership) ArrayIndexOutOfBoundsException(IntPtr, JniHandleOwnership)

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

ArrayIndexOutOfBoundsException()

Constructs a new ArrayIndexOutOfBoundsException that includes the current stack trace.

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

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.

ArrayIndexOutOfBoundsException(Int32) ArrayIndexOutOfBoundsException(Int32)

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

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

Parameters

index
Int32 Int32

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.

ArrayIndexOutOfBoundsException(String) ArrayIndexOutOfBoundsException(String)

Constructs a new ArrayIndexOutOfBoundsException with the current stack trace and the specified detail message.

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

Parameters

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.

ArrayIndexOutOfBoundsException(IntPtr, JniHandleOwnership) 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 IntPtr

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

transfer
JniHandleOwnership 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