Enum TransactionOperationFailedException.FinalErrorToRaise
java.lang.Object
java.lang.Enum<TransactionOperationFailedException.FinalErrorToRaise>
com.couchbase.client.core.error.transaction.TransactionOperationFailedException.FinalErrorToRaise
- All Implemented Interfaces:
Serializable
,Comparable<TransactionOperationFailedException.FinalErrorToRaise>
- Enclosing class:
TransactionOperationFailedException
@Internal
public static enum TransactionOperationFailedException.FinalErrorToRaise
extends Enum<TransactionOperationFailedException.FinalErrorToRaise>
-
Enum Constant Summary
Enum ConstantDescriptionThis will currently result in returning success to the application, but unstagingCompleted() will be false. -
Method Summary
Modifier and TypeMethodDescriptionReturns the enum constant of this type with the specified name.values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
Enum Constant Details
-
TRANSACTION_SUCCESS
-
TRANSACTION_FAILED
-
TRANSACTION_EXPIRED
-
TRANSACTION_COMMIT_AMBIGUOUS
public static final TransactionOperationFailedException.FinalErrorToRaise TRANSACTION_COMMIT_AMBIGUOUS -
TRANSACTION_FAILED_POST_COMMIT
public static final TransactionOperationFailedException.FinalErrorToRaise TRANSACTION_FAILED_POST_COMMITThis will currently result in returning success to the application, but unstagingCompleted() will be false.
-
-
Method Details
-
values
Returns an array containing the constants of this enum type, in the order they are declared.- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)- Parameters:
name
- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is null
-