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 Constants Enum Constant Description TRANSACTION_COMMIT_AMBIGUOUS
TRANSACTION_EXPIRED
TRANSACTION_FAILED
TRANSACTION_FAILED_POST_COMMIT
This will currently result in returning success to the application, but unstagingCompleted() will be false.TRANSACTION_SUCCESS
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static TransactionOperationFailedException.FinalErrorToRaise
valueOf(String name)
Returns the enum constant of this type with the specified name.static TransactionOperationFailedException.FinalErrorToRaise[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
TRANSACTION_SUCCESS
public static final TransactionOperationFailedException.FinalErrorToRaise TRANSACTION_SUCCESS
-
TRANSACTION_FAILED
public static final TransactionOperationFailedException.FinalErrorToRaise TRANSACTION_FAILED
-
TRANSACTION_EXPIRED
public static final TransactionOperationFailedException.FinalErrorToRaise 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_COMMIT
This will currently result in returning success to the application, but unstagingCompleted() will be false.
-
-
Method Detail
-
values
public static TransactionOperationFailedException.FinalErrorToRaise[] values()
Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:for (TransactionOperationFailedException.FinalErrorToRaise c : TransactionOperationFailedException.FinalErrorToRaise.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static TransactionOperationFailedException.FinalErrorToRaise valueOf(String name)
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
-
-