Class TransactionSystemCouchbaseException
java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
org.springframework.core.NestedRuntimeException
org.springframework.transaction.TransactionException
org.springframework.transaction.TransactionSystemException
org.springframework.data.couchbase.transaction.error.TransactionSystemCouchbaseException
- All Implemented Interfaces:
Serializable
- Direct Known Subclasses:
TransactionSystemAmbiguousException, TransactionSystemUnambiguousException
A base class of transaction-level exceptions raised by Couchbase, allowing them to be handled in one place.
- Author:
- Graham Pople
- See Also:
-
Constructor Summary
ConstructorsConstructorDescriptionTransactionSystemCouchbaseException(com.couchbase.client.java.transactions.error.TransactionFailedException ex) -
Method Summary
Methods inherited from class TransactionSystemException
contains, getApplicationException, getOriginalException, initApplicationExceptionMethods inherited from class NestedRuntimeException
getMostSpecificCause, getRootCauseMethods inherited from class Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
Constructor Details
-
TransactionSystemCouchbaseException
public TransactionSystemCouchbaseException(com.couchbase.client.java.transactions.error.TransactionFailedException ex)
-
-
Method Details
-
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.
-