Class OxiaUncheckedException

Object
Throwable
Exception
RuntimeException
OxiaUncheckedException
All Implemented Interfaces:
Serializable

public class OxiaUncheckedException extends RuntimeException
Wraps a checked exception with an unchecked one, as UncheckedIOException does for an IOException. The synchronous client throws it for the checked exceptions that a method does not declare: an OxiaException, e.g. a SessionDoesNotExistException from put(), or another one, e.g. an InterruptedException.
See Also:
  • Constructor Details

    • OxiaUncheckedException

      public OxiaUncheckedException(Throwable cause)
      Creates an instance of the exception.
      Parameters:
      cause - the checked exception to wrap