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 SummaryNested classes/interfaces inherited from class java.lang.EnumEnum.EnumDesc<E extends Enum<E>>
- 
Enum Constant SummaryEnum 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 SummaryModifier 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- 
OKOK.
- 
ALLOWED_CHILDREN_MAX_LIMIT_EXCEEDEDLimit exceeded.
- 
INVALID_DEPTHInvalid depth.
- 
INVALID_MAX_RESULTSInvalid value for max results.
- 
PARENT_CHILD_VIOLATIONTried to move or copy a folder into one of it's child-folders.
- 
FOLDER_ALREADY_EXISTSTried to create a folder that already exists.
- 
GENERICGeneric folder error. Message is supplied by throwing method.
 
- 
- 
Method Details- 
valuesReturns 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
 
- 
valueOfReturns 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 name
- NullPointerException- if the argument is null
 
 
-