Class CheckedStream.ConvertedToRuntimeException
Object
Throwable
Exception
RuntimeException
AnchorRuntimeException
AnchorFriendlyRuntimeException
ConvertedToRuntimeException
- All Implemented Interfaces:
Serializable
,HasFriendlyErrorMessage
- Enclosing class:
CheckedStream
public static class CheckedStream.ConvertedToRuntimeException
extends AnchorFriendlyRuntimeException
An exception that wraps another exception, but exposes itself as a
RuntimeException
.- See Also:
-
Constructor Summary
Constructors -
Method Summary
Methods inherited from class org.anchoranalysis.core.exception.friendly.AnchorFriendlyRuntimeException
friendlyMessage, friendlyMessageHierarchy, friendlyMessageHierarchy
Methods inherited from class org.anchoranalysis.core.exception.AnchorRuntimeException
toString
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace
-
Constructor Details
-
ConvertedToRuntimeException
Creates for any exception.- Parameters:
exception
- the underlying exception to be wrapped as a run-time exception.
-
-
Method Details
-
getException
-