org.wamblee.usermgt
Enum UserMgtException.Reason
java.lang.Object
java.lang.Enum<UserMgtException.Reason>
org.wamblee.usermgt.UserMgtException.Reason
- All Implemented Interfaces:
- java.io.Serializable, java.lang.Comparable<UserMgtException.Reason>
- Enclosing class:
- UserMgtException
public static enum UserMgtException.Reason
- extends java.lang.Enum<UserMgtException.Reason>
Possible causes for the exception.
| Methods inherited from class java.lang.Enum |
clone, compareTo, equals, finalize, getDeclaringClass, hashCode, name, ordinal, toString, valueOf |
| Methods inherited from class java.lang.Object |
getClass, notify, notifyAll, wait, wait, wait |
UNKNOWN_USER
public static final UserMgtException.Reason UNKNOWN_USER
UNKNOWN_GROUP
public static final UserMgtException.Reason UNKNOWN_GROUP
DUPLICATE_USER
public static final UserMgtException.Reason DUPLICATE_USER
DUPLICATE_GROUP
public static final UserMgtException.Reason DUPLICATE_GROUP
USER_ALREADY_IN_GROUP
public static final UserMgtException.Reason USER_ALREADY_IN_GROUP
USER_NOT_IN_GROUP
public static final UserMgtException.Reason USER_NOT_IN_GROUP
TRIVIAL_RENAME
public static final UserMgtException.Reason TRIVIAL_RENAME
INVALID_PASSWORD
public static final UserMgtException.Reason INVALID_PASSWORD
GROUP_STILL_OCCUPIED
public static final UserMgtException.Reason GROUP_STILL_OCCUPIED
USER_MUST_BE_IN_A_GROUP
public static final UserMgtException.Reason USER_MUST_BE_IN_A_GROUP
INVALID_USERNAME
public static final UserMgtException.Reason INVALID_USERNAME
INVALID_GROUPNAME
public static final UserMgtException.Reason INVALID_GROUPNAME
values
public static UserMgtException.Reason[] values()
- Returns an array containing the constants of this enum type, in
the order they are declared. This method may be used to iterate
over the constants as follows:
for (UserMgtException.Reason c : UserMgtException.Reason.values())
System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in
the order they are declared
valueOf
public static UserMgtException.Reason valueOf(java.lang.String name)
- Returns the enum constant of this type with the specified name.
The string must match exactly an identifier used to declare an
enum constant in this type. (Extraneous whitespace characters are
not permitted.)
- Parameters:
name - the name of the enum constant to be returned.
- Returns:
- the enum constant with the specified name
- Throws:
java.lang.IllegalArgumentException - if this enum type has no constant
with the specified name
java.lang.NullPointerException - if the argument is null
Copyright © 2010. All Rights Reserved.