Språk

CursorIndexOutOfBoundsException Constructors

Definition

Overloads

Name Description
CursorIndexOutOfBoundsException(String)

Creates a cursor-index exception with the supplied detail message.

CursorIndexOutOfBoundsException(Int32, Int32)

Creates a cursor-index exception whose message includes the requested index and cursor size.

CursorIndexOutOfBoundsException(IntPtr, JniHandleOwnership)

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

CursorIndexOutOfBoundsException(String)

Creates a cursor-index exception with the supplied detail message.

[Android.Runtime.Register(".ctor", "(Ljava/lang/String;)V", "")]
public CursorIndexOutOfBoundsException(string? message);
[<Android.Runtime.Register(".ctor", "(Ljava/lang/String;)V", "")>]
new Android.Database.CursorIndexOutOfBoundsException : string -> Android.Database.CursorIndexOutOfBoundsException

Parameters

message
String

The detail message for the out-of-bounds error.

Attributes

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

CursorIndexOutOfBoundsException(Int32, Int32)

Creates a cursor-index exception whose message includes the requested index and cursor size.

[Android.Runtime.Register(".ctor", "(II)V", "")]
public CursorIndexOutOfBoundsException(int index, int size);
[<Android.Runtime.Register(".ctor", "(II)V", "")>]
new Android.Database.CursorIndexOutOfBoundsException : int * int -> Android.Database.CursorIndexOutOfBoundsException

Parameters

index
Int32

The requested index that is outside the valid range.

size
Int32

The size of the range against which the index was checked.

Attributes

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

CursorIndexOutOfBoundsException(IntPtr, JniHandleOwnership)

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

protected CursorIndexOutOfBoundsException(IntPtr javaReference, Android.Runtime.JniHandleOwnership transfer);
new Android.Database.CursorIndexOutOfBoundsException : nativeint * Android.Runtime.JniHandleOwnership -> Android.Database.CursorIndexOutOfBoundsException

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