Class UnexpectedVersionIdException

java.lang.Object
java.lang.Throwable
java.lang.Exception
io.streamnative.oxia.client.api.exceptions.OxiaException
io.streamnative.oxia.client.api.exceptions.UnexpectedVersionIdException
All Implemented Interfaces:
Serializable

public class UnexpectedVersionIdException extends OxiaException
The versionId at the server did not that match supplied in the call.
See Also:
  • Constructor Details

    • UnexpectedVersionIdException

      public UnexpectedVersionIdException(@NonNull @NonNull String key, long version)
      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.