Enum Class OntopiaRestErrors

java.lang.Object
java.lang.Enum<OntopiaRestErrors>
net.ontopia.topicmaps.rest.exceptions.OntopiaRestErrors
All Implemented Interfaces:
Serializable, Comparable<OntopiaRestErrors>, Constable

public enum OntopiaRestErrors extends Enum<OntopiaRestErrors>
  • Enum Constant Details

    • TOPICMAP_NOT_FOUND

      public static final OntopiaRestErrors TOPICMAP_NOT_FOUND
    • CANNOT_OPEN_STORE

      public static final OntopiaRestErrors CANNOT_OPEN_STORE
    • COULD_NOT_READ_FRAGMENT

      public static final OntopiaRestErrors COULD_NOT_READ_FRAGMENT
    • INDEX_NOT_SUPPORTED

      public static final OntopiaRestErrors INDEX_NOT_SUPPORTED
    • INDEX_USAGE_ERROR

      public static final OntopiaRestErrors INDEX_USAGE_ERROR
    • TOPICMAP_DELETE_NOT_SUPPORTED

      public static final OntopiaRestErrors TOPICMAP_DELETE_NOT_SUPPORTED
    • MANDATORY_ATTRIBUTE_IS_NULL

      public static final OntopiaRestErrors MANDATORY_ATTRIBUTE_IS_NULL
    • MANDATORY_ATTRIBUTE_IS_WRONG_TYPE

      public static final OntopiaRestErrors MANDATORY_ATTRIBUTE_IS_WRONG_TYPE
    • MANDATORY_FIELD_IS_NULL

      public static final OntopiaRestErrors MANDATORY_FIELD_IS_NULL
    • MANDATORY_FIELD_IS_WRONG_TYPE

      public static final OntopiaRestErrors MANDATORY_FIELD_IS_WRONG_TYPE
    • MANDATORY_OBJECT_IS_NULL

      public static final OntopiaRestErrors MANDATORY_OBJECT_IS_NULL
    • MANDATORY_OBJECT_IS_WRONG_TYPE

      public static final OntopiaRestErrors MANDATORY_OBJECT_IS_WRONG_TYPE
    • MALFORMED_LOCATOR

      public static final OntopiaRestErrors MALFORMED_LOCATOR
    • EMPTY_ENTITY

      public static final OntopiaRestErrors EMPTY_ENTITY
    • UNSUPPORTED_MIME_TYPE

      public static final OntopiaRestErrors UNSUPPORTED_MIME_TYPE
    • UNKNOWN_QUERY_LANGUAGE

      public static final OntopiaRestErrors UNKNOWN_QUERY_LANGUAGE
    • INVALID_QUERY

      public static final OntopiaRestErrors INVALID_QUERY
  • Method Details

    • values

      public static OntopiaRestErrors[] values()
      Returns an array containing the constants of this enum class, in the order they are declared.
      Returns:
      an array containing the constants of this enum class, in the order they are declared
    • valueOf

      public static OntopiaRestErrors valueOf(String name)
      Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (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 class has no constant with the specified name
      NullPointerException - if the argument is null
    • getCode

      public int getCode()
    • getMessage

      public String getMessage()
    • getMessage

      public String getMessage(Object... parameters)
    • isClientError

      public boolean isClientError()
    • getStatus

      public org.restlet.data.Status getStatus()
    • build

      public OntopiaRestException build(Object... parameters)
    • build

      public OntopiaRestException build(Throwable cause, Object... parameters)