Upon such termination, the handler is notified of the terminating thread and causal exception. If there is no explicit handler set then the thread's group is the default handler.
Package Functions | |
void | uncaughtException (Thread thread, Throwable ex) |
The thread is being terminated by an uncaught exception. |
void java.lang.Thread.UncaughtExceptionHandler.uncaughtException | ( | Thread | thread, | |
Throwable | ex | |||
) | [package] |
The thread is being terminated by an uncaught exception.
Further exceptions thrown in this method are prevent the remainder of the method from executing, but are otherwise ignored.
thread | the thread that has an uncaught exception | |
ex | the exception that was thrown |
Implemented in java.lang.ThreadGroup.
Genereated on Tue Dec 9 14:09:48 2008 by Doxygen.
(c) Copyright 2005, 2008 The Apache Software Foundation or its licensors, as applicable.