Class CheckedStream.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 Details

    • ConvertedToRuntimeException

      public ConvertedToRuntimeException(Throwable exception)
      Creates for any exception.
      Parameters:
      exception - the underlying exception to be wrapped as a run-time exception.
  • Method Details

    • getException

      public Throwable getException()