    All Packages    This Package    Previous    Next

# Class java.lang.ThreadDeath

    java.lang.Object
       |
       +----java.lang.ThreadDeath

public class ThreadDeath
extends Object

An instance of ThreadDeath is thrown in the victim thread when thread.stop() is called. This is not a subclass of Exception because too many people already catch Exception. Only thopse explicitly interested in cleaning up when being asynchronously terminated should catch instances of this class, and then they should be sure to rethrow the object when they are done.

Version:
  1.1, 20 Feb 1995

##

ThreadDeath()

##

ThreadDeath

      public ThreadDeath()

    All Packages    This Package    Previous    Next