public enum ValidationErrors extends Enum<ValidationErrors>
| Enum Constant and Description |
|---|
EMAIL_EXISTS_ERROR
Indicates that the email already exists.
|
TERM_OF_USE_ERROR
Indicates that the term of use are not accepted.
|
UNEQAUL_PASSWORDS_ERROR
Indicates that the passwords are uneqaul.
|
USERNAME_EXISTS_ERROR
Indicates that the username already exists.
|
| Modifier and Type | Method and Description |
|---|---|
static ValidationErrors |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static ValidationErrors[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ValidationErrors TERM_OF_USE_ERROR
public static final ValidationErrors EMAIL_EXISTS_ERROR
public static final ValidationErrors USERNAME_EXISTS_ERROR
public static final ValidationErrors UNEQAUL_PASSWORDS_ERROR
public static ValidationErrors[] values()
for (ValidationErrors c : ValidationErrors.values()) System.out.println(c);
public static ValidationErrors 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 © 2007–2015 Alpha Ro Group UG (haftungsbeschrÀngt). All rights reserved.