public static enum GroupsException.Code extends Enum<GroupsException.Code>
| Enum Constant and Description |
|---|
GROUP_CHANGED
Node has changed
|
GROUP_CONFIG_MISMATCH
Group configuration is a mismatch
|
GROUP_EXISTS
Group already exists
|
GROUP_NOT_FOUND
Group not found
|
MEMBER_EXISITS
Member exists
|
MEMBER_NOT_FOUND
Member not found
|
SYNC_ERROR
Sync service error
|
| Modifier and Type | Method and Description |
|---|---|
static GroupsException.Code |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static GroupsException.Code[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final GroupsException.Code SYNC_ERROR
public static final GroupsException.Code GROUP_EXISTS
public static final GroupsException.Code GROUP_NOT_FOUND
public static final GroupsException.Code GROUP_CHANGED
public static final GroupsException.Code GROUP_CONFIG_MISMATCH
public static final GroupsException.Code MEMBER_EXISITS
public static final GroupsException.Code MEMBER_NOT_FOUND
public static GroupsException.Code[] values()
for (GroupsException.Code c : GroupsException.Code.values()) System.out.println(c);
public static GroupsException.Code 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 © 2014. All Rights Reserved.