fixed some formatting typos
[vimdoclet.git] / sample / java.lang.Thread.UncaughtExceptionHandler.txt
blob42129a9a0d53f2d3597e0eaae757ac12039428be
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.UncaughtExceptionHandler|) 
22 and will invoke the handler's uncaughtException method, passing the thread and 
23 the exception as arguments. If a thread has not had its 
24 UncaughtExceptionHandler explicitly set, then its ThreadGroup object acts as 
25 its UncaughtExceptionHandler. If the ThreadGroup object has no special 
26 requirements for dealing with the exception, it can forward the invocation to 
27 the default uncaught exception 
28 handler(|java.lang.Thread.UncaughtExceptionHandler|) . 
32 *java.lang.Thread.UncaughtExceptionHandler.uncaughtException(Thread,Throwable)*
34 public void uncaughtException(
35   java.lang.Thread t,
36   java.lang.Throwable e)
38 Method invoked when the given thread terminates due to the given uncaught 
39 exception. Any exception thrown by this method will be ignored by the Java 
40 Virtual Machine. 
43     t - the thread 
44     e - the exception