Class Streams.UncheckedException

java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
com.complexible.common.base.Streams.UncheckedException
All Implemented Interfaces:
Serializable
Enclosing class:
Streams

public static final class Streams.UncheckedException extends RuntimeException
Exception indicating that Checked* threw an exception and the default handler was used
See Also:
  • Constructor Details

    • UncheckedException

      public UncheckedException(Throwable cause)
  • Method Details

    • unwrap

      public static Throwable unwrap(Throwable theThrowable)
      If the caught exception was wrapped from a call to an unchecked(...) action, get the root cause.
      Parameters:
      theThrowable - the exception which may have been from unchecked
      Returns:
      the root cause of the UncheckedException, or the exception