Package org.javers.common.exception
Enum JaversExceptionCode
- java.lang.Object
-
- java.lang.Enum<JaversExceptionCode>
-
- org.javers.common.exception.JaversExceptionCode
-
- All Implemented Interfaces:
java.io.Serializable
,java.lang.Comparable<JaversExceptionCode>
public enum JaversExceptionCode extends java.lang.Enum<JaversExceptionCode>
Enums with all Javers errors codes
-
-
Enum Constant Summary
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.String
getMessage()
Error description and possibly solution hints.static JaversExceptionCode
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.static JaversExceptionCode[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
WRONG_USAGE_OF_JAVERS_AUDITABLE_DELETE
public static final JaversExceptionCode WRONG_USAGE_OF_JAVERS_AUDITABLE_DELETE
-
MALFORMED_JAVERS_MONGODB_PROPERTIES
public static final JaversExceptionCode MALFORMED_JAVERS_MONGODB_PROPERTIES
-
CM
public static final JaversExceptionCode CM
-
ID_TYPE_NOT_SUPPORTED
public static final JaversExceptionCode ID_TYPE_NOT_SUPPORTED
-
CLASS_EXTRACTION_ERROR
public static final JaversExceptionCode CLASS_EXTRACTION_ERROR
-
COMMITTING_TOP_LEVEL_VALUES_NOT_SUPPORTED
public static final JaversExceptionCode COMMITTING_TOP_LEVEL_VALUES_NOT_SUPPORTED
-
COMPARING_TOP_LEVEL_VALUES_NOT_SUPPORTED
public static final JaversExceptionCode COMPARING_TOP_LEVEL_VALUES_NOT_SUPPORTED
-
ENTITY_WITHOUT_ID
public static final JaversExceptionCode ENTITY_WITHOUT_ID
-
SHALLOW_REF_ENTITY_WITHOUT_ID
public static final JaversExceptionCode SHALLOW_REF_ENTITY_WITHOUT_ID
-
ENTITY_INSTANCE_WITH_NULL_ID
public static final JaversExceptionCode ENTITY_INSTANCE_WITH_NULL_ID
-
ENTITY_INSTANCE_WITH_NULL_COMPOSITE_ID
public static final JaversExceptionCode ENTITY_INSTANCE_WITH_NULL_COMPOSITE_ID
-
NOT_INSTANCE_OF
public static final JaversExceptionCode NOT_INSTANCE_OF
-
UNDEFINED_PROPERTY
public static final JaversExceptionCode UNDEFINED_PROPERTY
-
MALFORMED_PROPERTY
public static final JaversExceptionCode MALFORMED_PROPERTY
-
CLASSPATH_RESOURCE_NOT_FOUND
public static final JaversExceptionCode CLASSPATH_RESOURCE_NOT_FOUND
-
ALREADY_BUILT
public static final JaversExceptionCode ALREADY_BUILT
-
PROPERTY_ACCESS_ERROR
public static final JaversExceptionCode PROPERTY_ACCESS_ERROR
-
PROPERTY_SETTING_ERROR
public static final JaversExceptionCode PROPERTY_SETTING_ERROR
-
SETTER_INVOCATION_ERROR
public static final JaversExceptionCode SETTER_INVOCATION_ERROR
-
CONTAINER_NOT_READY
public static final JaversExceptionCode CONTAINER_NOT_READY
-
AFFECTED_CDO_IS_NOT_AVAILABLE
public static final JaversExceptionCode AFFECTED_CDO_IS_NOT_AVAILABLE
-
MISSING_PROPERTY
public static final JaversExceptionCode MISSING_PROPERTY
-
NOT_IMPLEMENTED
public static final JaversExceptionCode NOT_IMPLEMENTED
-
IGNORED_AND_INCLUDED_PROPERTIES_MIX
public static final JaversExceptionCode IGNORED_AND_INCLUDED_PROPERTIES_MIX
-
SNAPSHOT_NOT_FOUND
public static final JaversExceptionCode SNAPSHOT_NOT_FOUND
-
VALUE_OBJECT_IS_NOT_SUPPORTED_AS_MAP_KEY
public static final JaversExceptionCode VALUE_OBJECT_IS_NOT_SUPPORTED_AS_MAP_KEY
-
SNAPSHOT_STATE_VIOLATION
public static final JaversExceptionCode SNAPSHOT_STATE_VIOLATION
-
SNAPSHOT_SERIALIZATION_ERROR
public static final JaversExceptionCode SNAPSHOT_SERIALIZATION_ERROR
-
PROPERTY_NOT_FOUND
public static final JaversExceptionCode PROPERTY_NOT_FOUND
-
SETTER_NOT_FOUND
public static final JaversExceptionCode SETTER_NOT_FOUND
-
TYPE_NAME_NOT_FOUND
public static final JaversExceptionCode TYPE_NAME_NOT_FOUND
- Since:
- 1.4
-
MANAGED_CLASS_MAPPING_ERROR
public static final JaversExceptionCode MANAGED_CLASS_MAPPING_ERROR
-
CLASS_MAPPING_ERROR
public static final JaversExceptionCode CLASS_MAPPING_ERROR
-
MALFORMED_CHANGE_TYPE_FIELD
public static final JaversExceptionCode MALFORMED_CHANGE_TYPE_FIELD
-
MALFORMED_ENTRY_CHANGE_TYPE_FIELD
public static final JaversExceptionCode MALFORMED_ENTRY_CHANGE_TYPE_FIELD
-
CLASS_NOT_MANAGED
public static final JaversExceptionCode CLASS_NOT_MANAGED
-
COMPONENT_NOT_FOUND
public static final JaversExceptionCode COMPONENT_NOT_FOUND
-
NO_PUBLIC_CONSTRUCTOR
public static final JaversExceptionCode NO_PUBLIC_CONSTRUCTOR
-
NO_PUBLIC_ZERO_ARG_CONSTRUCTOR
public static final JaversExceptionCode NO_PUBLIC_ZERO_ARG_CONSTRUCTOR
-
ERROR_WHEN_INVOKING_CONSTRUCTOR
public static final JaversExceptionCode ERROR_WHEN_INVOKING_CONSTRUCTOR
-
CLASS_NOT_FOUND
public static final JaversExceptionCode CLASS_NOT_FOUND
-
CLASS_IS_NOT_INSTANCE_OF
public static final JaversExceptionCode CLASS_IS_NOT_INSTANCE_OF
-
CANT_EXTRACT_CHILD_VALUE_OBJECT
public static final JaversExceptionCode CANT_EXTRACT_CHILD_VALUE_OBJECT
-
CANT_PARSE_COMMIT_ID
public static final JaversExceptionCode CANT_PARSE_COMMIT_ID
-
CANT_DELETE_OBJECT_NOT_FOUND
public static final JaversExceptionCode CANT_DELETE_OBJECT_NOT_FOUND
-
CANT_FIND_COMMIT_HEAD_ID
public static final JaversExceptionCode CANT_FIND_COMMIT_HEAD_ID
-
SQL_EXCEPTION
public static final JaversExceptionCode SQL_EXCEPTION
-
UNSUPPORTED_SQL_DIALECT
public static final JaversExceptionCode UNSUPPORTED_SQL_DIALECT
-
MALFORMED_JQL
public static final JaversExceptionCode MALFORMED_JQL
-
UNSUPPORTED_OPTIONAL_CONTENT_TYPE
public static final JaversExceptionCode UNSUPPORTED_OPTIONAL_CONTENT_TYPE
-
RUNTIME_EXCEPTION
public static final JaversExceptionCode RUNTIME_EXCEPTION
-
TRANSACTION_MANAGER_NOT_SET
public static final JaversExceptionCode TRANSACTION_MANAGER_NOT_SET
-
-
Method Detail
-
values
public static JaversExceptionCode[] 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 (JaversExceptionCode c : JaversExceptionCode.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static JaversExceptionCode 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
-
getMessage
public java.lang.String getMessage()
Error description and possibly solution hints.
-
-