to top
Android APIs
public class

ThreadDeath

extends Error
java.lang.Object
   ↳ java.lang.Throwable
     ↳ java.lang.Error
       ↳ java.lang.ThreadDeath

Class Overview

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).

Summary

Public Constructors
ThreadDeath()
Constructs a new instance of this class.
[Expand]
Inherited Methods
From class java.lang.Throwable
From class java.lang.Object

Public Constructors

public ThreadDeath ()

Added in API level 1

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.

No examples for this method.
Frequently called with: [Clear]
Portions of this page are reproduced from work created and shared by the Android Open Source Project and used according to terms described in the Creative Commons 2.5 Attribution License. The original page is available here.