Package com.saperion.rmi.serverexception
Enum Class SaRMIFolderException.ErrorCode
java.lang.Object
java.lang.Enum<SaRMIFolderException.ErrorCode>
com.saperion.rmi.serverexception.SaRMIFolderException.ErrorCode
- All Implemented Interfaces:
Serializable
,Comparable<SaRMIFolderException.ErrorCode>
,Constable
- Enclosing class:
- SaRMIFolderException
Error code.
- Author:
- mak
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>>
-
Enum Constant Summary
Enum ConstantsEnum ConstantDescriptionLimit exceeded.Tried to create a folder that already exists.Generic folder error.Invalid depth.Invalid value for max results.OK.Tried to move or copy a folder into one of it's child-folders. -
Method Summary
Modifier and TypeMethodDescriptionReturns the enum constant of this class with the specified name.static SaRMIFolderException.ErrorCode[]
values()
Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
OK
OK. -
ALLOWED_CHILDREN_MAX_LIMIT_EXCEEDED
Limit exceeded. -
INVALID_DEPTH
Invalid depth. -
INVALID_MAX_RESULTS
Invalid value for max results. -
PARENT_CHILD_VIOLATION
Tried to move or copy a folder into one of it's child-folders. -
FOLDER_ALREADY_EXISTS
Tried to create a folder that already exists. -
GENERIC
Generic folder error. Message is supplied by throwing method.
-
-
Method Details
-
values
Returns an array containing the constants of this enum class, in the order they are declared.- Returns:
- an array containing the constants of this enum class, in the order they are declared
-
valueOf
Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (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:
IllegalArgumentException
- if this enum class has no constant with the specified nameNullPointerException
- if the argument is null
-