public class InterruptedRuntimeException extends IllegalStateException
InterruptedException
.
This should generally not be used, prefer InterruptedException
wherever possible, but
there are some scenarios where we need to throw an unchecked exception after being interrupted.
If InterruptedException
was caught, remember to set Thread.interrupt()
prior to throwing these.
Constructor and Description |
---|
InterruptedRuntimeException() |
InterruptedRuntimeException(String s) |
InterruptedRuntimeException(String s,
Throwable throwable) |
InterruptedRuntimeException(Throwable throwable) |
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
Copyright © 2022. All rights reserved.