Package com.lucimber.dbus.util
Enum Class ErrorRecoveryManager.ErrorClassification
java.lang.Object
java.lang.Enum<ErrorRecoveryManager.ErrorClassification>
com.lucimber.dbus.util.ErrorRecoveryManager.ErrorClassification
- All Implemented Interfaces:
Serializable
,Comparable<ErrorRecoveryManager.ErrorClassification>
,Constable
- Enclosing class:
- ErrorRecoveryManager
public static enum ErrorRecoveryManager.ErrorClassification
extends Enum<ErrorRecoveryManager.ErrorClassification>
Error classification for determining retry strategies.
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>>
-
Enum Constant Summary
Enum ConstantsEnum ConstantDescriptionAuthentication/authorization errors that need interventionConfiguration errors that need code/config changesProtocol/corruption errors that may succeed on retryResource exhaustion that may recover after delayTemporary errors that may succeed on retryUnknown errors -
Method Summary
Modifier and TypeMethodDescriptionReturns the enum constant of this class with the specified name.values()
Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
TRANSIENT
Temporary errors that may succeed on retry -
AUTHENTICATION
Authentication/authorization errors that need intervention -
CONFIGURATION
Configuration errors that need code/config changes -
RESOURCE_EXHAUSTION
Resource exhaustion that may recover after delay -
PROTOCOL
Protocol/corruption errors that may succeed on retry -
UNKNOWN
Unknown errors
-
-
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
-