public enum InvalidUserType extends Enum<InvalidUserType>
| Enum Constant and Description |
|---|
DEFAULT
Incorrect login credentials.
|
SESSION_EXPIRED
User session is expired.
|
SESSION_INVALID
User session is invalid.
|
USER_LOCKOUT
User is locked out.
|
| Modifier and Type | Method and Description |
|---|---|
int |
getCode() |
String |
getDescription() |
static InvalidUserType |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static InvalidUserType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final InvalidUserType DEFAULT
public static final InvalidUserType SESSION_EXPIRED
public static final InvalidUserType USER_LOCKOUT
public static final InvalidUserType SESSION_INVALID
public static InvalidUserType[] values()
for (InvalidUserType c : InvalidUserType.values()) System.out.println(c);
public static InvalidUserType 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 int getCode()
public String getDescription()
Copyright © 2023. All rights reserved.