Class UncheckedInterruptedException

java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
org.kiwiproject.base.UncheckedInterruptedException
All Implemented Interfaces:
Serializable

public class UncheckedInterruptedException extends RuntimeException
Wraps an InterruptedException with an unchecked exception. Basically, copied Java's UncheckedIOException, renamed it, and modified it.
See Also:
  • Constructor Details

    • UncheckedInterruptedException

      public UncheckedInterruptedException(String message, InterruptedException cause)
      Constructs an instance of this class.
      Parameters:
      message - the detail message, can be null
      cause - the InterruptedException
      Throws:
      NullPointerException - if the cause is null
    • UncheckedInterruptedException

      public UncheckedInterruptedException(InterruptedException cause)
      Constructs an instance of this class.
      Parameters:
      cause - the InterruptedException
      Throws:
      NullPointerException - if the cause is null
  • Method Details