public enum SignUpErrorCodes extends java.lang.Enum<SignUpErrorCodes>
SignUpConfiguration.errorMessages
Modifier and Type | Method and Description |
---|---|
static SignUpErrorCodes |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static SignUpErrorCodes[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final SignUpErrorCodes MISSING_USERNAME
public static final SignUpErrorCodes USERNAME_TOO_SHORT
public static final SignUpErrorCodes USERNAME_TOO_LONG
public static final SignUpErrorCodes USERNAME_ALREADY_IN_USE
public static final SignUpErrorCodes MISSING_PASSWORD
public static final SignUpErrorCodes PASSWORD_TOO_SHORT
public static final SignUpErrorCodes PASSWORD_TOO_LONG
public static final SignUpErrorCodes MISSING_EMAIL
public static final SignUpErrorCodes INVALID_EMAIL
public static final SignUpErrorCodes EMAIL_ALREADY_IN_USE
public static final SignUpErrorCodes RECOVER_NO_USER
public static final SignUpErrorCodes ACTIVATION_NO_ID
public static final SignUpErrorCodes ACTIVATION_INVALID_CODE
public static final SignUpErrorCodes GENERIC_DB_ERROR
public static final SignUpErrorCodes CUSTOM_ERROR
public static SignUpErrorCodes[] values()
for (SignUpErrorCodes c : SignUpErrorCodes.values()) System.out.println(c);
public static SignUpErrorCodes 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 null