Merge git+ssh://davetron5000@repo.or.cz/srv/git/vimdoclet
[vimdoclet.git] / sample / java.lang.ThreadDeath.txt
blob96fda77f4d72a8375cbb991e479b32b330e64b61
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 
26 never caught. 
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()*
35 public ThreadDeath()