public class InterruptedExceptionUnchecked extends CheckedExceptionTunnel
InterruptedException
.
This is usually triggered by interrupting the thread that the work package is processed in and
regularly checking with check()
.
Constructor and Description |
---|
InterruptedExceptionUnchecked() |
InterruptedExceptionUnchecked(java.lang.InterruptedException cause) |
Modifier and Type | Method and Description |
---|---|
static void |
check()
Checks whether the current thread has been interrupted and, if it has, throw a
InterruptedExceptionUnchecked . |
java.lang.InterruptedException |
getCause() |
getMessage, printFullStackTrace, printFullStackTrace, printFullStackTrace, printStackTrace, printStackTrace, toString, unwrapIfNecessary, unwrapIfNecessary, wrapIfNecessary, wrapIfNecessary
public InterruptedExceptionUnchecked()
public InterruptedExceptionUnchecked(java.lang.InterruptedException cause)
public static final void check() throws InterruptedExceptionUnchecked
InterruptedExceptionUnchecked
.InterruptedExceptionUnchecked
public java.lang.InterruptedException getCause()
getCause
in class java.lang.Throwable