Enum Class CodefError

java.lang.Object
java.lang.Enum<CodefError>
io.codef.api.error.CodefError
All Implemented Interfaces:
Serializable, Comparable<CodefError>, Constable

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

    • INVALID_CLIENT_ID

      public static final CodefError INVALID_CLIENT_ID
    • INVALID_CLIENT_SECRET

      public static final CodefError INVALID_CLIENT_SECRET
    • NULL_CLIENT_ID

      public static final CodefError NULL_CLIENT_ID
    • NULL_CLIENT_SECRET

      public static final CodefError NULL_CLIENT_SECRET
    • NULL_PUBLIC_KEY

      public static final CodefError NULL_PUBLIC_KEY
    • NULL_CLIENT_TYPE

      public static final CodefError NULL_CLIENT_TYPE
    • NULL_ORGANIZATION

      public static final CodefError NULL_ORGANIZATION
    • OAUTH_UNAUTHORIZED

      public static final CodefError OAUTH_UNAUTHORIZED
    • CODEF_API_UNAUTHORIZED

      public static final CodefError CODEF_API_UNAUTHORIZED
    • OAUTH_INTERNAL_ERROR

      public static final CodefError OAUTH_INTERNAL_ERROR
    • OAUTH_CONNECTION_ERROR

      public static final CodefError OAUTH_CONNECTION_ERROR
    • CODEF_API_SERVER_ERROR

      public static final CodefError CODEF_API_SERVER_ERROR
    • RSA_ENCRYPTION_ERROR

      public static final CodefError RSA_ENCRYPTION_ERROR
    • NEED_TO_SECURE_WITH_METHOD

      public static final CodefError NEED_TO_SECURE_WITH_METHOD
    • NEED_TO_PATH_METHOD

      public static final CodefError NEED_TO_PATH_METHOD
    • NEED_TO_ORGANIZATION_METHOD

      public static final CodefError NEED_TO_ORGANIZATION_METHOD
    • INVALID_PATH_REQUESTED

      public static final CodefError INVALID_PATH_REQUESTED
    • INTERNAL_SERVER_ERROR

      public static final CodefError INTERNAL_SERVER_ERROR
    • PARSE_ERROR

      public static final CodefError PARSE_ERROR
    • IO_ERROR

      public static final CodefError IO_ERROR
    • SIMPLE_AUTH_FAILED

      public static final CodefError SIMPLE_AUTH_FAILED
    • NO_RESPONSE_RECEIVED

      public static final CodefError NO_RESPONSE_RECEIVED
    • REQUEST_NULL

      public static final CodefError REQUEST_NULL
    • TRANSACTION_ID_NULL

      public static final CodefError TRANSACTION_ID_NULL
  • Method Details

    • values

      public static CodefError[] 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 CodefError 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
    • getMessage

      public String getMessage()
    • getRawMessage

      public String getRawMessage()
    • getReferenceUrl

      public CodefReferenceUrl getReferenceUrl()