public static enum ServerFinalMessage.Error extends Enum<ServerFinalMessage.Error>
Modifier and Type | Method and Description |
---|---|
static ServerFinalMessage.Error |
getByErrorMessage(String errorMessage) |
String |
getErrorMessage() |
static ServerFinalMessage.Error |
valueOf(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
public static ServerFinalMessage.Error[] values()
for (ServerFinalMessage.Error c : ServerFinalMessage.Error.values()) System.out.println(c);
public static ServerFinalMessage.Error valueOf(String name)
name
- the name of the enum constant to be returned.IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is nullpublic String getErrorMessage()
public static ServerFinalMessage.Error getByErrorMessage(String errorMessage) throws IllegalArgumentException
IllegalArgumentException
Copyright © 2017–2019. All rights reserved.