public static enum UserMgtException.Reason extends Enum<UserMgtException.Reason>
Enum Constant and Description |
---|
DUPLICATE_GROUP |
DUPLICATE_USER |
GROUP_STILL_OCCUPIED |
INVALID_GROUPNAME |
INVALID_PASSWORD |
INVALID_USERNAME |
UNKNOWN_GROUP |
UNKNOWN_USER |
USER_ALREADY_IN_GROUP |
USER_MUST_BE_IN_A_GROUP |
USER_NOT_IN_GROUP |
Modifier and Type | Method and Description |
---|---|
static UserMgtException.Reason |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static UserMgtException.Reason[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final UserMgtException.Reason UNKNOWN_USER
public static final UserMgtException.Reason UNKNOWN_GROUP
public static final UserMgtException.Reason DUPLICATE_USER
public static final UserMgtException.Reason DUPLICATE_GROUP
public static final UserMgtException.Reason USER_ALREADY_IN_GROUP
public static final UserMgtException.Reason USER_NOT_IN_GROUP
public static final UserMgtException.Reason INVALID_PASSWORD
public static final UserMgtException.Reason GROUP_STILL_OCCUPIED
public static final UserMgtException.Reason USER_MUST_BE_IN_A_GROUP
public static final UserMgtException.Reason INVALID_USERNAME
public static final UserMgtException.Reason INVALID_GROUPNAME
public static UserMgtException.Reason[] values()
for (UserMgtException.Reason c : UserMgtException.Reason.values()) System.out.println(c);
public static UserMgtException.Reason 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 nullCopyright © 2022. All rights reserved.