Java.Lang.ThreadGroup.UncaughtException Method
Handles uncaught exceptions.

Syntax

[Android.Runtime.Register("uncaughtException", "(Ljava/lang/Thread;Ljava/lang/Throwable;)V", "GetUncaughtException_Ljava_lang_Thread_Ljava_lang_Throwable_Handler")]
public virtual void UncaughtException (Thread t, Throwable e)

Parameters

t
the Thread that terminated with an uncaught exception
e
the uncaught exception itself

Remarks

Handles uncaught exceptions. Any uncaught exception in any Thread is forwarded to the thread's ThreadGroup by invoking this method.

New code should use Thread.UncaughtExceptionHandler instead of thread groups.

[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