Enum ErrorCodes
- java.lang.Object
-
- java.lang.Enum<ErrorCodes>
-
- com.priint.pubserver.plugin.entitymanager.exception.ErrorCodes
-
- All Implemented Interfaces:
java.io.Serializable,java.lang.Comparable<ErrorCodes>
public enum ErrorCodes extends java.lang.Enum<ErrorCodes>
-
-
Enum Constant Summary
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description intgetErrorCode()static ErrorCodesvalueOf(java.lang.String name)Returns the enum constant of this type with the specified name.static ErrorCodes[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
UNKNOWN
public static final ErrorCodes UNKNOWN
-
NOT_IMPLEMENTED
public static final ErrorCodes NOT_IMPLEMENTED
-
ENTITY_NOT_FOUND
public static final ErrorCodes ENTITY_NOT_FOUND
-
ENTITY_NAMED_NOT_FOUND
public static final ErrorCodes ENTITY_NAMED_NOT_FOUND
-
ENTITY_PARENT_NOT_FOUND
public static final ErrorCodes ENTITY_PARENT_NOT_FOUND
-
ENTITY_MODEL_NOT_FOUND
public static final ErrorCodes ENTITY_MODEL_NOT_FOUND
-
ENTITY_MODEL_EXISTS
public static final ErrorCodes ENTITY_MODEL_EXISTS
-
ENTITY_IDENTIFIER_EXISTS
public static final ErrorCodes ENTITY_IDENTIFIER_EXISTS
-
ENTITY_IN_LIST_NOT_UNIQUE
public static final ErrorCodes ENTITY_IN_LIST_NOT_UNIQUE
-
ROOT_MISSING_IN_MODEL
public static final ErrorCodes ROOT_MISSING_IN_MODEL
-
CONNECTOR_NOT_FOUND
public static final ErrorCodes CONNECTOR_NOT_FOUND
-
CONNECTOR_ERROR
public static final ErrorCodes CONNECTOR_ERROR
-
CONNECTOR_FIRST_ENTITY_IDENTIFIER
public static final ErrorCodes CONNECTOR_FIRST_ENTITY_IDENTIFIER
-
CANNOT_READ_CONFIG
public static final ErrorCodes CANNOT_READ_CONFIG
-
CUSTOM_TYPE_CONFIGURATION
public static final ErrorCodes CUSTOM_TYPE_CONFIGURATION
-
INITIAL_VALUES_CONFIGURATION
public static final ErrorCodes INITIAL_VALUES_CONFIGURATION
-
INVALID_CLIENT_CONFIGURATION
public static final ErrorCodes INVALID_CLIENT_CONFIGURATION
-
INVALID_MODEL_CONFIGURATION
public static final ErrorCodes INVALID_MODEL_CONFIGURATION
-
PARAMETER_LIST_EMPTY
public static final ErrorCodes PARAMETER_LIST_EMPTY
-
PARAMETER_IS_MISSING
public static final ErrorCodes PARAMETER_IS_MISSING
-
CONNECTOR_NAME_MISSING
public static final ErrorCodes CONNECTOR_NAME_MISSING
-
COMMIT_FAILED
public static final ErrorCodes COMMIT_FAILED
-
KEYVALUE_NOT_FOUND
public static final ErrorCodes KEYVALUE_NOT_FOUND
-
CONNECTOR_NOT_IDENTICAL
public static final ErrorCodes CONNECTOR_NOT_IDENTICAL
-
CONNECTOR_INTERFACE
public static final ErrorCodes CONNECTOR_INTERFACE
-
CONNECTOR_LOOKUP
public static final ErrorCodes CONNECTOR_LOOKUP
-
CONNECTOR_ENTITY_IDENTIFIER_IS_EMPTY
public static final ErrorCodes CONNECTOR_ENTITY_IDENTIFIER_IS_EMPTY
-
-
Method Detail
-
values
public static ErrorCodes[] 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 (ErrorCodes c : ErrorCodes.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static ErrorCodes valueOf(java.lang.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:
java.lang.IllegalArgumentException- if this enum type has no constant with the specified namejava.lang.NullPointerException- if the argument is null
-
getErrorCode
public int getErrorCode()
-
-