Enum Class AuthenticationException.AuthError
java.lang.Object
java.lang.Enum<AuthenticationException.AuthError>
com.loomcache.common.exception.AuthenticationException.AuthError
- All Implemented Interfaces:
Serializable, Comparable<AuthenticationException.AuthError>, Constable
- Enclosing class:
AuthenticationException
public static enum AuthenticationException.AuthError
extends Enum<AuthenticationException.AuthError>
Enumeration of authentication error types.
- Since:
- 1.0
-
Nested Class Summary
Nested classes/interfaces inherited from class Enum
Enum.EnumDesc<E> -
Enum Constant Summary
Enum ConstantsEnum ConstantDescriptionCredentials have expiredInsufficient permissions for the requested operationCredentials are invalidCredentials are missingOther authentication errorAuthentication server is unavailable -
Method Summary
Modifier and TypeMethodDescriptionReturns the enum constant of this class with the specified name.static AuthenticationException.AuthError[]values()Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
INVALID_CREDENTIALS
Credentials are invalid -
EXPIRED_CREDENTIALS
Credentials have expired -
MISSING_CREDENTIALS
Credentials are missing -
INSUFFICIENT_PERMISSIONS
Insufficient permissions for the requested operation -
SERVER_UNAVAILABLE
Authentication server is unavailable -
OTHER
Other authentication error
-
-
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
-