1 *java.lang.ThreadDeath* *ThreadDeath* An instance of ThreadDeath is thrown in th
3 public class ThreadDeath
4 extends |java.lang.Error|
6 |java.lang.ThreadDeath_Description|
7 |java.lang.ThreadDeath_Fields|
8 |java.lang.ThreadDeath_Constructors|
9 |java.lang.ThreadDeath_Methods|
11 ================================================================================
13 *java.lang.ThreadDeath_Constructors*
14 |java.lang.ThreadDeath()|
16 *java.lang.ThreadDeath_Description*
18 An instance of ThreadDeath is thrown in the victim thread when the stop method
19 with zero arguments in class Thread is called.
21 An application should catch instances of this class only if it must clean up
22 after being terminated asynchronously. If ThreadDeath is caught by a method, it
23 is important that it be rethrown so that the thread actually dies.
25 The top-level error handler does not print out a message if ThreadDeath is
28 The class ThreadDeath is specifically a subclass of Error rather than
29 Exception, even though it is a "normal occurrence", because many applications
30 catch all occurrences of Exception and then discard the exception.
33 *java.lang.ThreadDeath()*