Android Guides | Samples

Java.Lang.Thread.IUncaughtExceptionHandler

Implemented by objects that want to handle cases where a thread is being terminated by an uncaught exception.

See Also: Thread+IUncaughtExceptionHandler

Syntax

[Android.Runtime.Register("java/lang/Thread$UncaughtExceptionHandler", "", "Java.Lang.Thread/IUncaughtExceptionHandlerInvoker")]
public interface Thread.IUncaughtExceptionHandler : IJavaObject, IDisposable

Remarks

Implemented by objects that want to handle cases where a thread is being terminated by an uncaught exception. Upon such termination, the handler is notified of the terminating thread and causal exception. If there is no explicit handler set then the thread's group is the default handler.

[Android Documentation]

Requirements

Namespace: Java.Lang
Assembly: Mono.Android (in Mono.Android.dll)
Assembly Versions: 0.0.0.0
Since: Added in API level 1

The members of Java.Lang.Thread.IUncaughtExceptionHandler are listed below.

Public Methods

UncaughtException(Thread, Throwable)
The thread is being terminated by an uncaught exception.