public enum ErrorPageLang extends java.lang.Enum<ErrorPageLang> implements Lang
Lang
implementation for all error pages.Enum Constant and Description |
---|
ACCESS_DENIED_403 |
AUTH_FAIL_TIPS_401 |
AUTHENTICATION_FAILED_401 |
FORBIDDEN_403 |
NO_SERVERS_404 |
NOT_FOUND_404 |
NOT_PLAYED_404 |
PAGE_NOT_FOUND_404 |
UNAUTHORIZED_401 |
UNKNOWN_PAGE_404 |
UUID_404 |
Modifier and Type | Method and Description |
---|---|
java.lang.String |
getDefault() |
java.lang.String |
getIdentifier() |
static ErrorPageLang |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static ErrorPageLang[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ErrorPageLang UUID_404
public static final ErrorPageLang NO_SERVERS_404
public static final ErrorPageLang NOT_PLAYED_404
public static final ErrorPageLang UNKNOWN_PAGE_404
public static final ErrorPageLang UNAUTHORIZED_401
public static final ErrorPageLang AUTHENTICATION_FAILED_401
public static final ErrorPageLang AUTH_FAIL_TIPS_401
public static final ErrorPageLang FORBIDDEN_403
public static final ErrorPageLang ACCESS_DENIED_403
public static final ErrorPageLang NOT_FOUND_404
public static final ErrorPageLang PAGE_NOT_FOUND_404
public static ErrorPageLang[] values()
for (ErrorPageLang c : ErrorPageLang.values()) System.out.println(c);
public static ErrorPageLang 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 nullpublic java.lang.String getIdentifier()
getIdentifier
in interface Lang
public java.lang.String getDefault()
getDefault
in interface Lang