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
ConstructorDescriptionTransactionSystemCouchbaseException
(com.couchbase.client.java.transactions.error.TransactionFailedException ex) -
Method Summary
Methods inherited from class org.springframework.transaction.TransactionSystemException
contains, getApplicationException, getOriginalException, initApplicationException
Methods inherited from class org.springframework.core.NestedRuntimeException
getMostSpecificCause, getRootCause
Methods inherited from class java.lang.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.
-