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!!!
Author and all-around good cowpoke
Joined: Mar 22, 2000
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