Enum Class ErrorCode

java.lang.Object
java.lang.Enum<ErrorCode>
org.craftercms.profile.api.exceptions.ErrorCode
All Implemented Interfaces:
Serializable, Comparable<ErrorCode>, Constable

public enum ErrorCode extends Enum<ErrorCode>
Contains profile's error codes.
Author:
avasquez
  • Enum Constant Details

    • ACCESS_TOKEN_EXISTS

      public static final ErrorCode ACCESS_TOKEN_EXISTS
    • NO_SUCH_ACCESS_TOKEN_ID

      public static final ErrorCode NO_SUCH_ACCESS_TOKEN_ID
    • ACCESS_DENIED

      public static final ErrorCode ACCESS_DENIED
    • ACTION_DENIED

      public static final ErrorCode ACTION_DENIED
    • NO_SUCH_TENANT

      public static final ErrorCode NO_SUCH_TENANT
    • BAD_CREDENTIALS

      public static final ErrorCode BAD_CREDENTIALS
    • DISABLED_PROFILE

      public static final ErrorCode DISABLED_PROFILE
    • NO_SUCH_PROFILE

      public static final ErrorCode NO_SUCH_PROFILE
    • NO_SUCH_TICKET

      public static final ErrorCode NO_SUCH_TICKET
    • NO_SUCH_PERSISTENT_LOGIN

      public static final ErrorCode NO_SUCH_PERSISTENT_LOGIN
    • NO_SUCH_VERIFICATION_TOKEN

      public static final ErrorCode NO_SUCH_VERIFICATION_TOKEN
    • INVALID_EMAIL_ADDRESS

      public static final ErrorCode INVALID_EMAIL_ADDRESS
    • PERMISSION_ERROR

      public static final ErrorCode PERMISSION_ERROR
    • ATTRIBUTE_ALREADY_DEFINED

      public static final ErrorCode ATTRIBUTE_ALREADY_DEFINED
    • ATTRIBUTE_NOT_DEFINED

      public static final ErrorCode ATTRIBUTE_NOT_DEFINED
    • PARAM_DESERIALIZATION_ERROR

      public static final ErrorCode PARAM_DESERIALIZATION_ERROR
    • TENANT_EXISTS

      public static final ErrorCode TENANT_EXISTS
    • PROFILE_EXISTS

      public static final ErrorCode PROFILE_EXISTS
    • INVALID_QUERY

      public static final ErrorCode INVALID_QUERY
    • OTHER

      public static final ErrorCode OTHER
  • Method Details

    • values

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