Index (Frames) | Index (No Frames) | Package | Package Tree | Tree
java.lang

Class InterruptedException

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


public class InterruptedException

extends Exception

Thrown when a thread interrupts another thread which was previously sleeping, waiting, or paused in some other way. See the interrupt method of class Thread.

Authors:See Also:

Constructor Summary

InterruptedException()

Create an exception without a message.
InterruptedException(java.lang.String s)

Create an exception with a message.

Constructor Details

InterruptedException

public InterruptedException()

Create an exception without a message.


InterruptedException

public InterruptedException(java.lang.String s)

Create an exception with a message.

Parameters: