public class

InterruptedException

extends Exception
java.lang.Object
   ↳ java.lang.Throwable
     ↳ java.lang.Exception
       ↳ java.lang.InterruptedException

Class Overview

Thrown when a waiting thread is activated before the condition it was waiting for has been satisfied.

Summary

Public Constructors
InterruptedException()
Constructs a new InterruptedException that includes the current stack trace.
InterruptedException(String detailMessage)
Constructs a new InterruptedException with the current stack trace and the specified detail message.
[Expand]
Inherited Methods
From class java.lang.Throwable
From class java.lang.Object

Public Constructors

public InterruptedException ()

Since: API Level 1

Constructs a new InterruptedException that includes the current stack trace.

public InterruptedException (String detailMessage)

Since: API Level 1

Constructs a new InterruptedException with the current stack trace and the specified detail message.

Parameters
detailMessage the detail message for this exception.