Couchbase Transactions C++ Client  1.0.0
Transactions client for couchbase
Public Member Functions | List of all members
couchbase::transactions::transaction_expired Class Reference

Transaction expired. More...

#include <exceptions.hxx>

Inheritance diagram for couchbase::transactions::transaction_expired:
couchbase::transactions::transaction_exception

Public Member Functions

 transaction_expired (const std::runtime_error &cause, const transaction_context &context)
 
- Public Member Functions inherited from couchbase::transactions::transaction_exception
 transaction_exception (const std::runtime_error &cause, const transaction_context &context)
 Construct from underlying exception. More...
 
const transaction_resultget_transaction_result () const
 Internal state of transaction at time of exception. More...
 
external_exception cause () const
 The cause of the exception. More...
 

Detailed Description

Transaction expired.

A transaction can expire if, for instance, a document in the transaction is also being mutated in other transactions (or outside transactions). The transaction will rollback and retry in this situation, however if the conflicts persist it can expire before being successful.


The documentation for this class was generated from the following file: