public enum LoginMessage extends java.lang.Enum<LoginMessage>
| Enum Constant and Description |
|---|
EMPTY_LOGIN
Mensagem de campo de usuário vazio.
|
EMPTY_PASSWORD
Mensagem de campo de senha vazio.
|
INVALID_CLIENT_VERSION
Mensagem de erro de versão do cliente.
|
INVALID_LOGIN_INFO
Mensagem de erro nas informações de login.
|
LOGIN_EXCEPTION
Mensagem de exceção ao tentar fazer o login.
|
| Modifier and Type | Method and Description |
|---|---|
java.lang.String |
getDefaultDescription()
Obtém o texto padrão da mensagem.
|
static LoginMessage |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static LoginMessage[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final LoginMessage INVALID_LOGIN_INFO
public static final LoginMessage INVALID_CLIENT_VERSION
public static final LoginMessage LOGIN_EXCEPTION
public static final LoginMessage EMPTY_LOGIN
public static final LoginMessage EMPTY_PASSWORD
public static LoginMessage[] values()
for (LoginMessage c : LoginMessage.values()) System.out.println(c);
public static LoginMessage 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 getDefaultDescription()
Copyright © 2018. All Rights Reserved.