public enum JaversExceptionCode extends Enum<JaversExceptionCode>
| Enum Constant and Description |
|---|
ALREADY_BUILT |
CLASS_NOT_MANAGED
Class is not defined in Javers configuration.
|
CLASSPATH_RESOURCE_NOT_FOUND |
CONTAINER_NOT_READY |
ENTITY_MANAGER_NOT_INITIALIZED |
ENTITY_WITHOUT_ID |
MALFORMED_PROPERTY |
PROPERTY_NOT_FOUND |
TYPE_NOT_MAPPED |
UNDEFINED_PROPERTY |
UNEXPECTED_VALUE_OBJECT |
| Modifier and Type | Method and Description |
|---|---|
String |
getMessage()
Error description and possibly solution hints.
|
static JaversExceptionCode |
valueOf(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.
|
public static final JaversExceptionCode CLASS_NOT_MANAGED
public static final JaversExceptionCode UNEXPECTED_VALUE_OBJECT
public static final JaversExceptionCode TYPE_NOT_MAPPED
public static final JaversExceptionCode ENTITY_WITHOUT_ID
public static final JaversExceptionCode ENTITY_MANAGER_NOT_INITIALIZED
public static final JaversExceptionCode UNDEFINED_PROPERTY
public static final JaversExceptionCode MALFORMED_PROPERTY
public static final JaversExceptionCode CLASSPATH_RESOURCE_NOT_FOUND
public static final JaversExceptionCode ALREADY_BUILT
public static final JaversExceptionCode CONTAINER_NOT_READY
public static final JaversExceptionCode PROPERTY_NOT_FOUND
public static JaversExceptionCode[] values()
for (JaversExceptionCode c : JaversExceptionCode.values()) System.out.println(c);
public static JaversExceptionCode valueOf(String name)
name - the name of the enum constant to be returned.IllegalArgumentException - if this enum type has no constant
with the specified nameNullPointerException - if the argument is nullpublic String getMessage()
Copyright © 2013. All rights reserved.