Class UncategorizedTransactionDataAccessException
java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
org.springframework.core.NestedRuntimeException
org.springframework.dao.DataAccessException
org.springframework.dao.NonTransientDataAccessException
org.springframework.dao.UncategorizedDataAccessException
org.springframework.data.couchbase.transaction.error.UncategorizedTransactionDataAccessException
- All Implemented Interfaces:
com.couchbase.client.core.error.transaction.internal.WrappedTransactionOperationFailedException
,Serializable
public class UncategorizedTransactionDataAccessException
extends UncategorizedDataAccessException
implements com.couchbase.client.core.error.transaction.internal.WrappedTransactionOperationFailedException
An opaque signal that something went wrong during the execution of an operation inside a transaction.
The application is not expected to catch or inspect this exception, and should allow it to propagate.
Internal state has been set that ensures that the transaction will act appropriately (including rolling back and retrying if necessary) regardless of what the application does with this exception.
- Author:
- Graham Pople
- See Also:
-
Constructor Summary
ConstructorDescriptionUncategorizedTransactionDataAccessException
(com.couchbase.client.core.error.transaction.TransactionOperationFailedException err) -
Method Summary
Modifier and TypeMethodDescriptioncom.couchbase.client.core.error.transaction.TransactionOperationFailedException
wrapped()
Methods inherited from class org.springframework.core.NestedRuntimeException
contains, getMostSpecificCause, getRootCause
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
Constructor Details
-
UncategorizedTransactionDataAccessException
public UncategorizedTransactionDataAccessException(com.couchbase.client.core.error.transaction.TransactionOperationFailedException err)
-
-
Method Details
-
wrapped
public com.couchbase.client.core.error.transaction.TransactionOperationFailedException wrapped()- Specified by:
wrapped
in interfacecom.couchbase.client.core.error.transaction.internal.WrappedTransactionOperationFailedException
-