| Author |
uncaughtException ?????
|
Leandro Oliveira
Ranch Hand
Joined: Nov 07, 2002
Posts: 298
|
|
when an exception is thrown method uncaughtExceptin of the thread group that contains the current thread is called to every uncaught exception!!! so if I extends the class ThreadGroup and overrides uncaughtException method will I be able to avoid stoping the current thread ( i know its a bit useless but just for studing!!!) thanks!!!
|
 |
William Brogden
Author and all-around good cowpoke
Rancher
Joined: Mar 22, 2000
Posts: 12265
|
|
I doubt that very much. When an exception has gotten that far, the Thread has left the run method. You can't recover and re-enter the run method, so all you can do is provide custom handling for the exception. Bill
|
Java Resources at www.wbrogden.com
|
 |
 |
|
|
subject: uncaughtException ?????
|
|
|