public enum AuthenticationErrors extends Enum<AuthenticationErrors>
AuthenticationErrors.| Enum Constant and Description |
|---|
EMAIL_OR_USERNAME_DOES_NOT_EXIST
This constant indicates that the given email or username does not exist.
|
PASSWORD_INVALID
This constant indicates that the given password is invalid.
|
UNREGISTERED
This constant indicates that the given user object is not registered.
|
| Modifier and Type | Method and Description |
|---|---|
static AuthenticationErrors |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static AuthenticationErrors[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final AuthenticationErrors EMAIL_OR_USERNAME_DOES_NOT_EXIST
public static final AuthenticationErrors PASSWORD_INVALID
public static final AuthenticationErrors UNREGISTERED
public static AuthenticationErrors[] values()
for (AuthenticationErrors c : AuthenticationErrors.values()) System.out.println(c);
public static AuthenticationErrors 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 nullCopyright © 2015–2018 Alpha Ro Group UG (haftungsbeschrÀngt). All rights reserved.