ThreadGroup.UncaughtException(Thread, Throwable) Method
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.
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.
the uncaught exception.
Implements
- Attributes
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.