public enum ProtocolErrorCode extends java.lang.Enum<ProtocolErrorCode>
| Enum Constant and Description |
|---|
ALREADY_AUTHENTICATED |
AUTHENTICATION_FAILED |
AUTHENTICATION_NOT_SUPPORTED |
AUTHENTICATION_REQUIRED |
AUTHORIZATION_FAILED |
INVALID_REQUEST |
NO_AVAILABLE_SERVER |
SERVER_ERROR |
| Modifier and Type | Field and Description |
|---|---|
int |
codeValue |
| Modifier and Type | Method and Description |
|---|---|
static ProtocolErrorCode |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static ProtocolErrorCode[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ProtocolErrorCode AUTHENTICATION_REQUIRED
public static final ProtocolErrorCode AUTHENTICATION_FAILED
public static final ProtocolErrorCode ALREADY_AUTHENTICATED
public static final ProtocolErrorCode AUTHENTICATION_NOT_SUPPORTED
public static final ProtocolErrorCode AUTHORIZATION_FAILED
public static final ProtocolErrorCode INVALID_REQUEST
public static final ProtocolErrorCode SERVER_ERROR
public static final ProtocolErrorCode NO_AVAILABLE_SERVER
public static ProtocolErrorCode[] values()
for (ProtocolErrorCode c : ProtocolErrorCode.values()) System.out.println(c);
public static ProtocolErrorCode valueOf(java.lang.String name)
name - the name of the enum constant to be returned.java.lang.IllegalArgumentException - if this enum type has no constant with the specified namejava.lang.NullPointerException - if the argument is null