Thread.DefaultUncaughtExceptionHandler Property

Definition

Returns the default handler invoked when a thread abruptly terminates due to an uncaught exception. -or- Set the default handler invoked when a thread abruptly terminates due to an uncaught exception, and no other handler has been defined for that thread.

public static Java.Lang.Thread.IUncaughtExceptionHandler? DefaultUncaughtExceptionHandler { [Android.Runtime.Register("getDefaultUncaughtExceptionHandler", "()Ljava/lang/Thread$UncaughtExceptionHandler;", "")] get; [Android.Runtime.Register("setDefaultUncaughtExceptionHandler", "(Ljava/lang/Thread$UncaughtExceptionHandler;)V", "")] set; }
[<get: Android.Runtime.Register("getDefaultUncaughtExceptionHandler", "()Ljava/lang/Thread$UncaughtExceptionHandler;", "")>]
[<set: Android.Runtime.Register("setDefaultUncaughtExceptionHandler", "(Ljava/lang/Thread$UncaughtExceptionHandler;)V", "")>]
static member DefaultUncaughtExceptionHandler : Java.Lang.Thread.IUncaughtExceptionHandler with get, set

Property Value

the default uncaught exception handler for all threads

Attributes

Remarks

Property getter documentation:

Java documentation for java.lang.Thread.getDefaultUncaughtExceptionHandler().

Property setter documentation:

Java documentation for java.lang.Thread.setDefaultUncaughtExceptionHandler(java.lang.UncaughtExceptionHandler).

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