다음을 통해 공유


AndroidRuntimeException Constructors

Definition

Overloads

AndroidRuntimeException()
AndroidRuntimeException(Exception)
AndroidRuntimeException(String)
AndroidRuntimeException(IntPtr, JniHandleOwnership)

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

AndroidRuntimeException(String, Throwable)

AndroidRuntimeException()

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

AndroidRuntimeException(Exception)

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

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

AndroidRuntimeException(String)

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

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

AndroidRuntimeException(IntPtr, JniHandleOwnership)

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

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

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

AndroidRuntimeException(String, Throwable)

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

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