Package io.oxia.client.api.exceptions
Class UnexpectedVersionIdException
Object
Throwable
Exception
OxiaException
UnexpectedVersionIdException
- All Implemented Interfaces:
Serializable
The versionId at the server did not that match supplied in the call.
The exception has no stack trace: it is an expected outcome of a conditional put or delete, created on the client's I/O threads, where the trace would only show transport frames.
- See Also:
-
Constructor Summary
ConstructorsConstructorDescriptionUnexpectedVersionIdException(String key, long version) 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
-
UnexpectedVersionIdException
Creates an instance of the exception.- Parameters:
key- The key to which the call was scoped.version- The record versionId to which the call was scoped.
-