ThreadGroup.UncaughtException(Thread, Throwable) Method

Definition

Called by the Java Virtual Machine when a thread in this thread group stops because of an uncaught exception, and the thread does not have a specific Thread.UncaughtExceptionHandler installed.

[Android.Runtime.Register("uncaughtException", "(Ljava/lang/Thread;Ljava/lang/Throwable;)V", "GetUncaughtException_Ljava_lang_Thread_Ljava_lang_Throwable_Handler")]
public virtual void UncaughtException (Java.Lang.Thread? t, Java.Lang.Throwable? e);
[<Android.Runtime.Register("uncaughtException", "(Ljava/lang/Thread;Ljava/lang/Throwable;)V", "GetUncaughtException_Ljava_lang_Thread_Ljava_lang_Throwable_Handler")>]
abstract member UncaughtException : Java.Lang.Thread * Java.Lang.Throwable -> unit
override this.UncaughtException : Java.Lang.Thread * Java.Lang.Throwable -> unit

Parameters

t
Thread

the thread that is about to exit.

e
Throwable

the uncaught exception.

Implements

Attributes

Remarks

Java documentation for java.lang.ThreadGroup.uncaughtException(java.lang.Thread, 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