public static enum SaRMIFolderException.ErrorCode extends Enum<SaRMIFolderException.ErrorCode>
Enum Constant and Description |
---|
ALLOWED_CHILDREN_MAX_LIMIT_EXCEEDED
Limit exceeded.
|
FOLDER_ALREADY_EXISTS
Tried to create a folder that already exists.
|
GENERIC
Generic folder error.
|
INVALID_DEPTH
Invalid depth.
|
INVALID_MAX_RESULTS
Invalid value for max results.
|
OK
OK.
|
PARENT_CHILD_VIOLATION
Tried to move or copy a folder into one of it's child-folders.
|
Modifier and Type | Method and Description |
---|---|
static SaRMIFolderException.ErrorCode |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static SaRMIFolderException.ErrorCode[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final SaRMIFolderException.ErrorCode OK
public static final SaRMIFolderException.ErrorCode ALLOWED_CHILDREN_MAX_LIMIT_EXCEEDED
public static final SaRMIFolderException.ErrorCode INVALID_DEPTH
public static final SaRMIFolderException.ErrorCode INVALID_MAX_RESULTS
public static final SaRMIFolderException.ErrorCode PARENT_CHILD_VIOLATION
public static final SaRMIFolderException.ErrorCode FOLDER_ALREADY_EXISTS
public static final SaRMIFolderException.ErrorCode GENERIC
public static SaRMIFolderException.ErrorCode[] values()
for (SaRMIFolderException.ErrorCode c : SaRMIFolderException.ErrorCode.values()) System.out.println(c);
public static SaRMIFolderException.ErrorCode 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 © 2016 SAPERION AG. All rights reserved.