Class DocumentConcurrentlyModifiedException

All Implemented Interfaces:
OriginalMutationResult, Serializable

public class DocumentConcurrentlyModifiedException
extends CouchbaseException
implements OriginalMutationResult
Exception indicating that the document which is observed has been modified in the meantime.
Michael Nitschinger
See Also:
Serialized Form
  • Constructor Details

    • DocumentConcurrentlyModifiedException

      public DocumentConcurrentlyModifiedException​(String message, Long cas)
  • Method Details

    • mutationCas

      public long mutationCas()
      Description copied from interface: OriginalMutationResult
      If the originating operation used to be a mutation and was successful, this getter allows to retrieve the cas value returned.
      Specified by:
      mutationCas in interface OriginalMutationResult
      a long case value or an exception otherwise.