Package com.caplin.datasource
Enum Class SubjectError
- All Implemented Interfaces:
Serializable
,Comparable<SubjectError>
,java.lang.constant.Constable
Enumeration that defines the possible types of subject error.
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>>
-
Enum Constant Summary
Enum ConstantDescriptionThe subject should be deleted.The requested subject could not be found.The requested subject cannot be read from.The subject is not available.The requsested subject cannot be written to. -
Method Summary
Modifier and TypeMethodDescriptionstatic SubjectError
Returns the enum constant of this class with the specified name.static SubjectError[]
values()
Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
NotFound
The requested subject could not be found. -
ReadDeny
The requested subject cannot be read from. -
WriteDeny
The requsested subject cannot be written to. -
DeleteObject
The subject should be deleted.
-
-
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
-