|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD |
java.lang.Object java.lang.Enum<AuthorizationException.Reason> magoffin.matt.ma2.AuthorizationException.Reason
public static enum AuthorizationException.Reason
Authorization exception reason.
Enum Constant Summary | |
---|---|
ACCESS_DENIED
Access denied to something. |
|
ANONYMOUS_ACCESS_DENIED
Access for anonymous users denied. |
|
BAD_PASSWORD
Bad password. |
|
DUPLICATE_EMAIL
Duplicate email. |
|
DUPLICATE_LOGIN
Duplicate login. |
|
FORGOTTEN_PASSWORD_NOT_CONFIRMED
Forgotten password not confirmed. |
|
REGISTRATION_ALREADY_CONFIRMED
Registration already confirmed. |
|
REGISTRATION_NOT_CONFIRMED
Registration not confirmed. |
|
UNKNOWN_LOGIN
Unknown login. |
Method Summary | |
---|---|
static AuthorizationException.Reason |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name. |
static AuthorizationException.Reason[] |
values()
Returns an array containing the constants of this enum type, in the order they're declared. |
Methods inherited from class java.lang.Enum |
---|
clone, compareTo, equals, getDeclaringClass, hashCode, name, ordinal, toString, valueOf |
Methods inherited from class java.lang.Object |
---|
finalize, getClass, notify, notifyAll, wait, wait, wait |
Enum Constant Detail |
---|
public static final AuthorizationException.Reason BAD_PASSWORD
public static final AuthorizationException.Reason UNKNOWN_LOGIN
public static final AuthorizationException.Reason DUPLICATE_LOGIN
public static final AuthorizationException.Reason DUPLICATE_EMAIL
public static final AuthorizationException.Reason REGISTRATION_NOT_CONFIRMED
public static final AuthorizationException.Reason REGISTRATION_ALREADY_CONFIRMED
public static final AuthorizationException.Reason FORGOTTEN_PASSWORD_NOT_CONFIRMED
public static final AuthorizationException.Reason ACCESS_DENIED
public static final AuthorizationException.Reason ANONYMOUS_ACCESS_DENIED
Method Detail |
---|
public static final AuthorizationException.Reason[] values()
for(AuthorizationException.Reason c : AuthorizationException.Reason.values()) System.out.println(c);
public static AuthorizationException.Reason 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 name
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD |