public class InterruptedException extends Exception
| Constructor and Description |
|---|
InterruptedException()
Constructs a new
InterruptedException that includes the current
stack trace. |
InterruptedException(String detailMessage)
Constructs a new
InterruptedException with the current stack
trace and the specified detail message. |
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toStringpublic InterruptedException()
InterruptedException that includes the current
stack trace.public InterruptedException(String detailMessage)
InterruptedException with the current stack
trace and the specified detail message.detailMessage - the detail message for this exception.