Class TransactionSystemCouchbaseException

All Implemented Interfaces:
Serializable
Direct Known Subclasses:
TransactionSystemAmbiguousException, TransactionSystemUnambiguousException

public abstract class TransactionSystemCouchbaseException extends TransactionSystemException
A base class of transaction-level exceptions raised by Couchbase, allowing them to be handled in one place.
Author:
Graham Pople
See Also:
  • Constructor Details

    • TransactionSystemCouchbaseException

      public TransactionSystemCouchbaseException(com.couchbase.client.java.transactions.error.TransactionFailedException ex)
  • Method Details

    • logs

      public List<com.couchbase.client.core.cnc.events.transaction.TransactionLogEvent> logs()
      An in-memory log is built up during each transaction. The application may want to write this to their own logs, for example upon transaction failure.