Package de.espirit.firstspirit.access
Enum Class Task.ErrorCode
- All Implemented Interfaces:
Serializable,Comparable<Task.ErrorCode>,Constable
- Enclosing interface:
- Task
Error code for task verify.
- Since:
- 4.2.400
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>> -
Enum Constant Summary
Enum ConstantsEnum ConstantDescriptionLoading failure for entity.Entitynot found.Taskis not referenced inEntity.Database schema is read-only.StoreElementnot found.Taskis not referenced inStoreElement.Usernot found.Workflownot found. -
Method Summary
Modifier and TypeMethodDescriptionstatic Task.ErrorCodeReturns the enum constant of this class with the specified name.static Task.ErrorCode[]values()Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
STORE_ELEMENT_NOT_FOUND
StoreElementnot found.- Since:
- 4.2.400
-
STORE_ELEMENT_TASK_NOT_REFERENCED
Taskis not referenced inStoreElement.- Since:
- 4.2.400
-
ENTITY_NOT_FOUND
Entitynot found.- Since:
- 4.2.400
-
ENTITY_TASK_NOT_REFERENCED
Taskis not referenced inEntity.- Since:
- 4.2.400
-
USER_NOT_FOUND
Usernot found.- Since:
- 4.2.400
-
WORKFLOW_NOT_FOUND
Workflownot found.- Since:
- 4.2.400
-
SCHEMA_READ_ONLY
Database schema is read-only.- Since:
- 4.2.400
-
ENTITY_LOAD_ERROR
Loading failure for entity.- Since:
- 5.0.100
-
-
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
-