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:
java.io.Serializable
- Enclosing class:
- Streams
public static final class Streams.UncheckedException extends java.lang.RuntimeException
Exception indicating that Checked* threw an exception and the default handler was used- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description UncheckedException(java.lang.Throwable cause)
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static java.lang.Throwable
unwrap(java.lang.Throwable theThrowable)
If the caught exception was wrapped from a call to anunchecked(...)
action, get the root cause.
-
-
-
Method Detail
-
unwrap
public static java.lang.Throwable unwrap(java.lang.Throwable theThrowable)
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
-
-