Class TransactionOperationFailedBuilder
- java.lang.Object
-
- com.couchbase.transactions.error.internal.TransactionOperationFailedBuilder
-
@Internal public class TransactionOperationFailedBuilder extends java.lang.Object
Allows constructing a TransactionOperationFailed.
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description TransactionOperationFailed
build()
TransactionOperationFailedBuilder
cause(java.lang.Throwable cause)
static TransactionOperationFailedBuilder
createError(AttemptContextReactive ctx, ErrorClasses causingErrorClass)
static TransactionOperationFailedBuilder
createError(ErrorClasses causingErrorClass)
TransactionOperationFailedBuilder
doNotRollbackAttempt()
TransactionOperationFailedBuilder
raiseException(TransactionOperationFailed.FinalErrorToRaise toRaise)
TransactionOperationFailedBuilder
retryTransaction()
TransactionOperationFailedBuilder
rollbackAttempt(boolean value)
-
-
-
Method Detail
-
createError
public static TransactionOperationFailedBuilder createError(ErrorClasses causingErrorClass)
-
createError
public static TransactionOperationFailedBuilder createError(AttemptContextReactive ctx, ErrorClasses causingErrorClass)
-
raiseException
public TransactionOperationFailedBuilder raiseException(TransactionOperationFailed.FinalErrorToRaise toRaise)
-
doNotRollbackAttempt
public TransactionOperationFailedBuilder doNotRollbackAttempt()
-
rollbackAttempt
public TransactionOperationFailedBuilder rollbackAttempt(boolean value)
-
retryTransaction
public TransactionOperationFailedBuilder retryTransaction()
-
cause
public TransactionOperationFailedBuilder cause(java.lang.Throwable cause)
-
build
public TransactionOperationFailed build()
-
-