Package com.github.mizool.core.exception
Class UncheckedInterruptedException
- java.lang.Object
-
- java.lang.Throwable
-
- java.lang.Exception
-
- java.lang.RuntimeException
-
- com.github.mizool.core.exception.UncheckedInterruptedException
-
- All Implemented Interfaces:
Serializable
public class UncheckedInterruptedException extends RuntimeException
Wraps anInterruptedException
.
Remember to callThread.currentThread().interrupt();
before throwing this exception.
See this article for details.- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description UncheckedInterruptedException(InterruptedException cause)
UncheckedInterruptedException(String message, InterruptedException cause)
-
Method Summary
-
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
-
-
-
Constructor Detail
-
UncheckedInterruptedException
public UncheckedInterruptedException(String message, InterruptedException cause)
-
UncheckedInterruptedException
public UncheckedInterruptedException(InterruptedException cause)
-
-