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).
Constructor and Description |
---|
ReplicaNotConfiguredException(String message,
Long cas) |
Modifier and Type | Method and Description |
---|---|
long |
mutationCas()
If the originating operation used to be a mutation and was successful, this getter allows to retrieve the cas value returned.
|
details, details, getMessage
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
public long mutationCas()
OriginalMutationResult
If the originating operation used to be a mutation and was successful, this getter allows to retrieve the cas value returned.
mutationCas
in interface OriginalMutationResult
Copyright © 2018 Couchbase, Inc.. All rights reserved.