Class ReplicaNotConfiguredException

All Implemented Interfaces:
OriginalMutationResult, Serializable

public class ReplicaNotConfiguredException
extends CouchbaseException
implements OriginalMutationResult
This exception is thrown when the given operation targeting a specific replica is not fulfillable because the replica is not configured (for example replica 2 is asked for, but only 1 is configured).
Michael Nitschinger
See Also:
Serialized Form
  • Constructor Details

    • ReplicaNotConfiguredException

      public ReplicaNotConfiguredException​(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.