public enum EzyLoginError extends Enum<EzyLoginError> implements EzyILoginError
| Enum Constant and Description |
|---|
ALREADY_LOGIN |
INVALID_DATA |
INVALID_PASSWORD |
INVALID_TOKEN |
INVALID_USERNAME |
MAXIMUM_SESSION |
MAXIMUM_USER |
SERVER_ERROR |
ZONE_NOT_FOUND |
| Modifier and Type | Method and Description |
|---|---|
String |
getName() |
static EzyLoginError |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static EzyLoginError[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
clone, compareTo, equals, finalize, getDeclaringClass, hashCode, name, ordinal, toString, valueOfgetMessagepublic static final EzyLoginError INVALID_DATA
public static final EzyLoginError ALREADY_LOGIN
public static final EzyLoginError INVALID_USERNAME
public static final EzyLoginError INVALID_PASSWORD
public static final EzyLoginError INVALID_TOKEN
public static final EzyLoginError MAXIMUM_SESSION
public static final EzyLoginError MAXIMUM_USER
public static final EzyLoginError ZONE_NOT_FOUND
public static final EzyLoginError SERVER_ERROR
public static EzyLoginError[] values()
for (EzyLoginError c : EzyLoginError.values()) System.out.println(c);
public static EzyLoginError 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 getName()
getName in interface com.tvd12.ezyfox.constant.EzyConstantgetName in interface com.tvd12.ezyfox.constant.EzyHasNameCopyright © 2021 Young Monkeys. All rights reserved.