1 *java.lang.Thread.UncaughtExceptionHandler* *Thread.UncaughtExceptionHandler* In
3 public static interface interface Thread.UncaughtExceptionHandler
6 |java.lang.Thread.UncaughtExceptionHandler_Description|
7 |java.lang.Thread.UncaughtExceptionHandler_Fields|
8 |java.lang.Thread.UncaughtExceptionHandler_Constructors|
9 |java.lang.Thread.UncaughtExceptionHandler_Methods|
11 ================================================================================
13 *java.lang.Thread.UncaughtExceptionHandler_Methods*
14 |java.lang.Thread.UncaughtExceptionHandler.uncaughtException(Thread,Throwable)|
16 *java.lang.Thread.UncaughtExceptionHandler_Description*
18 Interface for handlers invoked when a Thread abruptly terminates due to an
19 uncaught exception. When a thread is about to terminate due to an uncaught
20 exception the Java Virtual Machine will query the thread for its
21 UncaughtExceptionHandler using (|java.lang.Thread|) and will invoke the
22 handler's uncaughtException method, passing the thread and the exception as
23 arguments. If a thread has not had its UncaughtExceptionHandler explicitly set,
24 then its ThreadGroup object acts as its UncaughtExceptionHandler. If the
25 ThreadGroup object has no special requirements for dealing with the exception,
26 it can forward the invocation to the default uncaught exception
27 handler(|java.lang.Thread.UncaughtExceptionHandler|) .
30 *java.lang.Thread.UncaughtExceptionHandler.uncaughtException(Thread,Throwable)*
32 public void uncaughtException(
34 java.lang.Throwable e)
36 Method invoked when the given thread terminates due to the given uncaught
37 exception. Any exception thrown by this method will be ignored by the Java