Enum Class ErrorType

java.lang.Object
java.lang.Enum<ErrorType>
org.fiware.mintaka.exception.ErrorType
All Implemented Interfaces:
Serializable, Comparable<ErrorType>, Constable

public enum ErrorType extends Enum<ErrorType>
Error types as defined by the NGSI-LD spec.
  • Enum Constant Details

    • INVALID_REQUEST

      public static final ErrorType INVALID_REQUEST
    • BAD_REQUEST_DATA

      public static final ErrorType BAD_REQUEST_DATA
    • OPERATION_NOT_SUPPORTED

      public static final ErrorType OPERATION_NOT_SUPPORTED
    • RESOURCE_NOT_FOUND

      public static final ErrorType RESOURCE_NOT_FOUND
    • INTERNAL_ERROR

      public static final ErrorType INTERNAL_ERROR
    • TOO_COMPLEX_QUERY

      public static final ErrorType TOO_COMPLEX_QUERY
    • TOO_MANY_RESULTS

      public static final ErrorType TOO_MANY_RESULTS
    • LD_CONTEXT_NOT_AVAILABLE

      public static final ErrorType LD_CONTEXT_NOT_AVAILABLE
    • NON_EXISTENT_TENANT

      public static final ErrorType NON_EXISTENT_TENANT
  • Method Details

    • values

      public static ErrorType[] 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 ErrorType 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