Skip to content

Most visited

Recently visited

Added in API level 1


public class ThreadDeath
extends Error

   ↳ java.lang.Throwable
     ↳ java.lang.Error
       ↳ java.lang.ThreadDeath

ThreadDeath is thrown when a thread stops executing. It is used to aid in the orderly unrolling of the thread's stack (eg. cleanup of monitors).


Public constructors


Constructs a new instance of this class.

Inherited methods

From class java.lang.Throwable
From class java.lang.Object

Public constructors


Added in API level 1
ThreadDeath ()

Constructs a new instance of this class. Note that in the case of ThreadDeath, the stack trace may not be filled in a way which allows a stack trace to be printed.

This site uses cookies to store your preferences for site-specific language and display options.


This class requires API level or higher

This doc is hidden because your selected API level for the documentation is . You can change the documentation API level with the selector above the left navigation.

For more information about specifying the API level your app requires, read Supporting Different Platform Versions.