Package com.complexible.common.base
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
Exception indicating that Checked* threw an exception and the default handler was used
- See Also:
-
Constructor Summary
Constructors -
Method Summary
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
Constructor Details
-
UncheckedException
-
-
Method Details
-
unwrap
If the caught exception was wrapped from a call to anunchecked(...)action, get the root cause.- Parameters:
theThrowable- the exception which may have been fromunchecked- Returns:
- the root cause of the
UncheckedException, or the exception
-