Package io.oxia.client.api.exceptions
package io.oxia.client.api.exceptions
Checked exceptions raised by the Oxia client.
All client-side errors extend the abstract OxiaException. The synchronous client throws them directly; the
asynchronous client surfaces them by completing the returned CompletableFuture exceptionally.
UnexpectedVersionIdException— a conditional put or delete failed because the server's versionId does not match the expected one.KeyAlreadyExistsException— a put withIfRecordDoesNotExistfound an existing record.SessionDoesNotExistException— an operation tied to an ephemeral session was attempted after the session expired.UnsupportedAuthenticationException— the configured authentication plugin could not be loaded.
-
ExceptionsClassDescriptionThe key already exists at the server.A super-class of exceptions describing errors that occurred on an Oxia server.The session does not exist on the server.The versionId at the server did not that match supplied in the call.Unsupported authentication exception thrown by Oxia client.