Enum Class TxnFailureRollbackState
- All Implemented Interfaces:
Serializable, Comparable<TxnFailureRollbackState>, Constable
Defines the states representing outcomes of transaction rollback attempts.
-
Nested Class Summary
Nested classes/interfaces inherited from class Enum
Enum.EnumDesc<E> -
Enum Constant Summary
Enum ConstantsEnum ConstantDescriptionIndicates that no rollback was performed on the connection.Indicates that the connection was successfully rolled back without error.Indicates that an error occurred while attempting to roll back the connection. -
Method Summary
Modifier and TypeMethodDescriptionstatic TxnFailureRollbackStateReturns the enum constant of this class with the specified name.static TxnFailureRollbackState[]values()Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
NoneByRolledBack
Indicates that the connection was successfully rolled back without error. -
NoneByNotRolledBack
Indicates that no rollback was performed on the connection. -
RollbackFailure
Indicates that an error occurred while attempting to roll back the connection.
-
-
Method Details
-
values
Returns an array containing the constants of this enum class, in the order they are declared.- Returns:
- an array containing the constants of this enum class, in the order they are declared
-
valueOf
Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (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 class has no constant with the specified nameNullPointerException- if the argument is null
-