Package io.activej.common.exception
Class UncheckedException
java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
io.activej.common.exception.UncheckedException
- All Implemented Interfaces:
Serializable
A wrapper exception that wraps checked exceptions into a runtime exception,
so that it could be thrown from a non-throwing call sites.
If this exception is thrown, it should be properly handled later on,
propagating a cause of UncheckedException based on application logic
- See Also:
-
Field Summary
Fields -
Method Summary
Methods inherited from class java.lang.Throwable
addSuppressed, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
Field Details
-
WITH_STACK_TRACE
public static final boolean WITH_STACK_TRACE
-
-
Method Details
-
of
-
fillInStackTrace
- Overrides:
fillInStackTracein classThrowable
-
getCause
-