Avoid ThreadGroup
ThreadGroup was originally intended for applet security, and should almost always be ignored. The services it provides are limited, and sometimes even flawed.
The only method which could be useful is ThreadGroup.uncaughtException. An override of this method will define customized behaviour for uncaught exceptions.
See Effective
Java for a detailed discussion.
See Also :
Would you use this technique?
|
|