Sdílet prostřednictvím


UndeclaredThrowableException Constructors

Definition

Overloads

UndeclaredThrowableException(Throwable)

Constructs an UndeclaredThrowableException with the specified Throwable.

UndeclaredThrowableException(Throwable, String)

Constructs an UndeclaredThrowableException with the specified Throwable and a detail message.

UndeclaredThrowableException(IntPtr, JniHandleOwnership)

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

UndeclaredThrowableException(Throwable)

Constructs an UndeclaredThrowableException with the specified Throwable.

[Android.Runtime.Register(".ctor", "(Ljava/lang/Throwable;)V", "")]
public UndeclaredThrowableException (Java.Lang.Throwable? undeclaredThrowable);
[<Android.Runtime.Register(".ctor", "(Ljava/lang/Throwable;)V", "")>]
new Java.Lang.Reflect.UndeclaredThrowableException : Java.Lang.Throwable -> Java.Lang.Reflect.UndeclaredThrowableException

Parameters

undeclaredThrowable
Throwable

the undeclared checked exception that was thrown

Attributes

Remarks

Constructs an UndeclaredThrowableException with the specified Throwable.

Java documentation for java.lang.reflect.UndeclaredThrowableException.UndeclaredThrowableException(java.lang.Throwable).

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

UndeclaredThrowableException(Throwable, String)

Constructs an UndeclaredThrowableException with the specified Throwable and a detail message.

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

Parameters

undeclaredThrowable
Throwable

the undeclared checked exception that was thrown

s
String

the detail message

Attributes

Remarks

Constructs an UndeclaredThrowableException with the specified Throwable and a detail message.

Java documentation for java.lang.reflect.UndeclaredThrowableException.UndeclaredThrowableException(java.lang.Throwable, 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

UndeclaredThrowableException(IntPtr, JniHandleOwnership)

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

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

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