Class java.lang.InterruptedException
All Packages  Class Hierarchy  This Package  Previous  Next  Index

Class java.lang.InterruptedException

Object
   |
   +----Throwable
           |
           +----Exception
                   |
                   +----java.lang.InterruptedException

public class InterruptedException
extends Exception
Thrown when a thread is waiting, sleeping, or otherwise paused for a long time and another thread interrupts it using the interrupt method in class Thread.

Version:
1.8, 07/01/98
Author:
Frank Yellin
Since:
JDK1.0
See Also:
wait(), wait(long), wait(long, int), sleep(long), interrupt(), interrupted()

Constructor Index

 o java.lang.InterruptedException()
Constructs an InterruptedException with no detail message.
 o java.lang.InterruptedException(String)
Constructs an InterruptedException with the specified detail message.

Constructors

 o InterruptedException
public InterruptedException()
Constructs an InterruptedException with no detail message.

Since:
JDK1.0
 o InterruptedException
public InterruptedException(String s)
Constructs an InterruptedException with the specified detail message.

Parameters:
s - the detail message.
Since:
JDK1.0

All Packages  Class Hierarchy  This Package  Previous  Next  Index