java.lang
Class InterruptedException

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

public class InterruptedException
extends Exception

An exception indicated that some thread has interrupted this thread.

See Also:
Thread.interrupt(), Thread.interrupted()

Constructor Summary
InterruptedException()
          Constructs an InterruptedException with no detail message.
InterruptedException(String s)
          Constructs an InterruptedException with the specified detail message.
 
Methods inherited from class java.lang.Throwable
fillInStackTrace, getMessage, printStackTrace, printStackTrace, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

InterruptedException

public InterruptedException()
Constructs an InterruptedException with no detail message. A detail message is a String that describes this particular exception.


InterruptedException

public InterruptedException(String s)
Constructs an InterruptedException with the specified detail message. A detail message is a String that describes this particular exception.

Parameters:
s - the detail message