Package org.leo.aws.ddb.utils.exceptions
Enum Issue
- java.lang.Object
-
- java.lang.Enum<Issue>
-
- org.leo.aws.ddb.utils.exceptions.Issue
-
- All Implemented Interfaces:
Serializable,Comparable<Issue>
public enum Issue extends Enum<Issue>
-
-
Enum Constant Summary
Enum Constants Enum Constant Description INCORRECT_MODEL_ANNOTATIONINVALID_JSONJSON_SERIALIZE_ERROROPTIMISTIC_LOCK_ERRORRECORD_ALREADY_EXISTSUNKNOWN_ERROR
-
Constructor Summary
Constructors Modifier Constructor Description privateIssue()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static IssuevalueOf(String name)Returns the enum constant of this type with the specified name.static Issue[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
UNKNOWN_ERROR
public static final Issue UNKNOWN_ERROR
-
JSON_SERIALIZE_ERROR
public static final Issue JSON_SERIALIZE_ERROR
-
INVALID_JSON
public static final Issue INVALID_JSON
-
INCORRECT_MODEL_ANNOTATION
public static final Issue INCORRECT_MODEL_ANNOTATION
-
RECORD_ALREADY_EXISTS
public static final Issue RECORD_ALREADY_EXISTS
-
OPTIMISTIC_LOCK_ERROR
public static final Issue OPTIMISTIC_LOCK_ERROR
-
-
Method Detail
-
values
public static Issue[] values()
Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:for (Issue c : Issue.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static Issue valueOf(String name)
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (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 type has no constant with the specified nameNullPointerException- if the argument is null
-
-