java.lang
Class InterruptedException

java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.InterruptedException
- All Implemented Interfaces:
- java.io.Serializable
- 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.
| Nested classes inherited from class java.lang.Throwable |
|
| Fields inherited from class java.lang.Throwable |
|
| Methods inherited from class java.lang.Throwable |
fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString |
serialVersionUID
private static final long serialVersionUID
- Compatible with JDK 1.0+.
- See Also:
- Constant Field Values
InterruptedException
public InterruptedException()
- Create an exception without a message.
InterruptedException
public InterruptedException(String s)
- Create an exception with a message.