public class InvocationInterruptedException extends InvocationException
| Constructor and Description |
|---|
InvocationInterruptedException(InterruptedException cause)
Constructor.
|
| Modifier and Type | Method and Description |
|---|---|
static void |
throwIfInterrupt(Throwable t)
Checks if the specified throwable is not an interrupted exception.
|
wrapIfNeededaddSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toStringpublic InvocationInterruptedException(@Nullable
InterruptedException cause)
cause - the wrapped exception.public static void throwIfInterrupt(@Nullable
Throwable t)
t - the throwable.InvocationInterruptedException - if the specified throwable is an instance of
InvocationInterruptedException or
InterruptedException.