@Stability.Internal public class TransactionOperationFailedException extends CouchbaseException
The details of the failure are opaque, as the application is not expected to take action on this failure. The application should not catch errors from operations.
All methods on this class are for internal use only.
| Modifier and Type | Class and Description |
|---|---|
static class |
TransactionOperationFailedException.Builder |
static class |
TransactionOperationFailedException.FinalErrorToRaise |
| Constructor and Description |
|---|
TransactionOperationFailedException(boolean autoRollbackAttempt,
boolean retryTransaction,
Throwable cause,
TransactionOperationFailedException.FinalErrorToRaise toRaise) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
autoRollbackAttempt() |
boolean |
retryTransaction() |
TransactionOperationFailedException.FinalErrorToRaise |
toRaise() |
String |
toString() |
context, getMessageaddSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTracepublic TransactionOperationFailedException(boolean autoRollbackAttempt,
boolean retryTransaction,
Throwable cause,
TransactionOperationFailedException.FinalErrorToRaise toRaise)
@Stability.Internal public boolean autoRollbackAttempt()
@Stability.Internal public boolean retryTransaction()
@Stability.Internal public TransactionOperationFailedException.FinalErrorToRaise toRaise()
Copyright © 2024 Couchbase, Inc.. All rights reserved.