Class KiwiRunnables.WrappedException

java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
org.kiwiproject.beta.base.KiwiRunnables.WrappedException
All Implemented Interfaces:
Serializable
Enclosing class:
KiwiRunnables

public static class KiwiRunnables.WrappedException extends RuntimeException
A RuntimeException that contains a checked exception thrown by a KiwiRunnables.ThrowingRunnable.

This exception type is intended to be used when converting KiwiRunnables.ThrowingRunnable to a Runnable, which cannot throw checked exceptions.

See Also:
  • Constructor Details

    • WrappedException

      public WrappedException(Throwable cause)