public class CasMismatchException extends CouchbaseException
The operation failed because the specified compare and swap (CAS) value differs from the document's actual CAS value. This means the document was modified since the original CAS value was acquired.
The application should usually respond by fetching a fresh version of the document and repeating the failed operation.
Constructor and Description |
---|
CasMismatchException(ErrorContext ctx) |
context, toString
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace
public CasMismatchException(ErrorContext ctx)
Copyright © 2020 Couchbase, Inc.. All rights reserved.