UndeclaredThrowableException Constructors
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Overloads
UndeclaredThrowableException(Throwable) |
Constructs an |
UndeclaredThrowableException(Throwable, String) |
Constructs an |
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
.
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.
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
- 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.