java.lang
Class InterruptedException
- java.lang.Object
-
- java.lang.Throwable
-
- java.lang.Exception
-
- java.lang.InterruptedException
-
public class InterruptedException extends Exception
Thrown when a waiting thread is activated before the condition it was waiting for has been satisfied.
-
-
Constructor Summary
Constructors Constructor and Description InterruptedException()
Constructs a newInterruptedException
that includes the current stack trace.InterruptedException(String detailMessage)
Constructs a newInterruptedException
with the current stack trace and the specified detail message.
-
Method Summary
-
Methods inherited from class java.lang.Throwable
fillInStackTrace, getMessage, getStackTrace, printStackTrace, printStackTrace, toString
-
-
-
-
Constructor Detail
-
InterruptedException
public InterruptedException()
Constructs a newInterruptedException
that includes the current stack trace.
-
InterruptedException
public InterruptedException(String detailMessage)
Constructs a newInterruptedException
with the current stack trace and the specified detail message.- Parameters:
detailMessage
- the detail message for this exception.
-
-