|public class java.lang
Java SE 6
ThreadDeathis thrown in the victim thread when the
stopmethod with zero arguments in class
An application should catch instances of this class only if it
must clean up after being terminated asynchronously. If
ThreadDeath is caught by a method, it is important
that it be rethrown so that the thread actually dies.
The top-level error handler does not print out a message if
ThreadDeath is never caught.
ThreadDeath is specifically a subclass of
Error rather than
Exception, even though
it is a "normal occurrence", because many applications
catch all occurrences of
Exception and then discard
|About DocWeb · Bundles · Export · Export All||Top 10 · Statistics · Login|
Java SE 6· Copyright © 1994-2013 Sun Microsystems, Inc.
All rights reserved. Use is subject to license terms