public enum OntopiaRestErrors extends Enum<OntopiaRestErrors>
Modifier and Type | Method and Description |
---|---|
OntopiaRestException |
build(Object... parameters) |
OntopiaRestException |
build(Throwable cause,
Object... parameters) |
int |
getCode() |
String |
getMessage() |
String |
getMessage(Object... parameters) |
org.restlet.data.Status |
getStatus() |
boolean |
isClientError() |
static OntopiaRestErrors |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static OntopiaRestErrors[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final OntopiaRestErrors TOPICMAP_NOT_FOUND
public static final OntopiaRestErrors CANNOT_OPEN_STORE
public static final OntopiaRestErrors COULD_NOT_READ_FRAGMENT
public static final OntopiaRestErrors INDEX_NOT_SUPPORTED
public static final OntopiaRestErrors INDEX_USAGE_ERROR
public static final OntopiaRestErrors TOPICMAP_DELETE_NOT_SUPPORTED
public static final OntopiaRestErrors MANDATORY_ATTRIBUTE_IS_NULL
public static final OntopiaRestErrors MANDATORY_ATTRIBUTE_IS_WRONG_TYPE
public static final OntopiaRestErrors MANDATORY_FIELD_IS_NULL
public static final OntopiaRestErrors MANDATORY_FIELD_IS_WRONG_TYPE
public static final OntopiaRestErrors MANDATORY_OBJECT_IS_NULL
public static final OntopiaRestErrors MANDATORY_OBJECT_IS_WRONG_TYPE
public static final OntopiaRestErrors MALFORMED_LOCATOR
public static final OntopiaRestErrors EMPTY_ENTITY
public static final OntopiaRestErrors UNSUPPORTED_MIME_TYPE
public static final OntopiaRestErrors UNKNOWN_QUERY_LANGUAGE
public static final OntopiaRestErrors INVALID_QUERY
public static OntopiaRestErrors[] values()
for (OntopiaRestErrors c : OntopiaRestErrors.values()) System.out.println(c);
public static OntopiaRestErrors 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 int getCode()
public String getMessage()
public boolean isClientError()
public org.restlet.data.Status getStatus()
public OntopiaRestException build(Object... parameters)
public OntopiaRestException build(Throwable cause, Object... parameters)