public static enum ServerFinalMessage.Error extends java.lang.Enum<ServerFinalMessage.Error>
Modifier and Type | Field and Description |
---|---|
private static java.util.Map<java.lang.String,ServerFinalMessage.Error> |
BY_NAME_MAPPING |
private java.lang.String |
errorMessage |
Modifier and Type | Method and Description |
---|---|
static ServerFinalMessage.Error |
getByErrorMessage(java.lang.String errorMessage) |
java.lang.String |
getErrorMessage() |
static ServerFinalMessage.Error |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static ServerFinalMessage.Error[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ServerFinalMessage.Error INVALID_ENCODING
public static final ServerFinalMessage.Error EXTENSIONS_NOT_SUPPORTED
public static final ServerFinalMessage.Error INVALID_PROOF
public static final ServerFinalMessage.Error CHANNEL_BINDINGS_DONT_MATCH
public static final ServerFinalMessage.Error SERVER_DOES_SUPPORT_CHANNEL_BINDING
public static final ServerFinalMessage.Error CHANNEL_BINDING_NOT_SUPPORTED
public static final ServerFinalMessage.Error UNSUPPORTED_CHANNEL_BINDING_TYPE
public static final ServerFinalMessage.Error UNKNOWN_USER
public static final ServerFinalMessage.Error INVALID_USERNAME_ENCODING
public static final ServerFinalMessage.Error NO_RESOURCES
public static final ServerFinalMessage.Error OTHER_ERROR
private static final java.util.Map<java.lang.String,ServerFinalMessage.Error> BY_NAME_MAPPING
private final java.lang.String errorMessage
public static ServerFinalMessage.Error[] values()
for (ServerFinalMessage.Error c : ServerFinalMessage.Error.values()) System.out.println(c);
public static ServerFinalMessage.Error 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 nullpublic java.lang.String getErrorMessage()
public static ServerFinalMessage.Error getByErrorMessage(java.lang.String errorMessage) throws java.lang.IllegalArgumentException
java.lang.IllegalArgumentException