Package io.oxia.client.api.exceptions
Class UnexpectedVersionIdException
java.lang.Object
java.lang.Throwable
java.lang.Exception
io.oxia.client.api.exceptions.OxiaException
io.oxia.client.api.exceptions.UnexpectedVersionIdException
- All Implemented Interfaces:
Serializable
The versionId at the server did not that match supplied in the call.
- See Also:
-
Constructor Summary
ConstructorsConstructorDescriptionUnexpectedVersionIdException(String key, long version) Creates an instance of the exception. -
Method Summary
Methods inherited from class java.lang.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.
-