AndroidException Constructors

Definition

Overloads

AndroidException()
AndroidException(Exception)
AndroidException(String)
AndroidException(IntPtr, JniHandleOwnership)

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

AndroidException(String, Throwable)

AndroidException()

[Android.Runtime.Register(".ctor", "()V", "")]
public AndroidException ();
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

AndroidException(Exception)

[Android.Runtime.Register(".ctor", "(Ljava/lang/Exception;)V", "")]
public AndroidException (Java.Lang.Exception? cause);
[<Android.Runtime.Register(".ctor", "(Ljava/lang/Exception;)V", "")>]
new Android.Util.AndroidException : Java.Lang.Exception -> Android.Util.AndroidException

Parameters

cause
Exception
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

AndroidException(String)

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

Parameters

name
String
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

AndroidException(IntPtr, JniHandleOwnership)

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

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

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

AndroidException(String, Throwable)

[Android.Runtime.Register(".ctor", "(Ljava/lang/String;Ljava/lang/Throwable;)V", "")]
public AndroidException (string? name, Java.Lang.Throwable? cause);
[<Android.Runtime.Register(".ctor", "(Ljava/lang/String;Ljava/lang/Throwable;)V", "")>]
new Android.Util.AndroidException : string * Java.Lang.Throwable -> Android.Util.AndroidException

Parameters

name
String
cause
Throwable
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