Package io.oxia.client.api.exceptions
Class OxiaUncheckedException
Object
Throwable
Exception
RuntimeException
OxiaUncheckedException
- All Implemented Interfaces:
Serializable
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 Summary
ConstructorsConstructorDescriptionOxiaUncheckedException(Throwable cause) Creates an instance of the exception. -
Method Summary
Methods inherited from class Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
Constructor Details
-
OxiaUncheckedException
Creates an instance of the exception.- Parameters:
cause- the checked exception to wrap
-