java.lang
Class InterruptedException
java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.InterruptedException
- All Implemented Interfaces:
- Serializable
- Direct Known Subclasses:
- AsynchronouslyInterruptedException
public class InterruptedException
- extends Exception
InterruptedException is thrown when a thread is interrupted by
another thread during a wait() or within asynchronously
interruptible code.
- Since:
- 1.0
- See Also:
- Serialized Form
Methods inherited from class java.lang.Throwable |
fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString |
InterruptedException
public InterruptedException()
- Constructor for an InterruptedException with no detail message.
InterruptedException
public InterruptedException(String s)
- Constructor for an InterruptedException with given detail
message.
ensures
(s != null IMPLIES getMessage().equals(s));
- Parameters:
s
- the detail message.
aicas GmbH, Karlsruhe, Germany —www.aicas.com
Copyright © 2001-2015 aicas GmbH. All Rights Reserved.