Enum Class Result.Code

java.lang.Object
java.lang.Enum<Result.Code>
google.registry.model.eppoutput.Result.Code
All Implemented Interfaces:
Serializable, Comparable<Result.Code>, Constable
Enclosing class:
Result

public static enum Result.Code extends Enum<Result.Code>
"EPP result codes are based on the theory of reply codes described in section 4.2.1 of [RFC5321]. EPP uses four decimal digits to describe the success or failure of each EPP command. Each of the digits of the reply have special significance." "The first digit denotes command success or failure. The second digit denotes the response category, such as command syntax or security. The third and fourth digits provide explicit response detail within each response category."
  • Enum Constant Details

    • SUCCESS

      public static final Result.Code SUCCESS
    • SUCCESS_WITH_ACTION_PENDING

      public static final Result.Code SUCCESS_WITH_ACTION_PENDING
    • SUCCESS_WITH_NO_MESSAGES

      public static final Result.Code SUCCESS_WITH_NO_MESSAGES
    • SUCCESS_WITH_ACK_MESSAGE

      public static final Result.Code SUCCESS_WITH_ACK_MESSAGE
    • SUCCESS_AND_CLOSE

      public static final Result.Code SUCCESS_AND_CLOSE
    • UNKNOWN_COMMAND

      public static final Result.Code UNKNOWN_COMMAND
    • SYNTAX_ERROR

      public static final Result.Code SYNTAX_ERROR
    • COMMAND_USE_ERROR

      public static final Result.Code COMMAND_USE_ERROR
    • REQUIRED_PARAMETER_MISSING

      public static final Result.Code REQUIRED_PARAMETER_MISSING
    • PARAMETER_VALUE_RANGE_ERROR

      public static final Result.Code PARAMETER_VALUE_RANGE_ERROR
    • PARAMETER_VALUE_SYNTAX_ERROR

      public static final Result.Code PARAMETER_VALUE_SYNTAX_ERROR
    • UNIMPLEMENTED_PROTOCOL_VERSION

      public static final Result.Code UNIMPLEMENTED_PROTOCOL_VERSION
    • UNIMPLEMENTED_COMMAND

      public static final Result.Code UNIMPLEMENTED_COMMAND
    • UNIMPLEMENTED_OPTION

      public static final Result.Code UNIMPLEMENTED_OPTION
    • UNIMPLEMENTED_EXTENSION

      public static final Result.Code UNIMPLEMENTED_EXTENSION
    • AUTHENTICATION_ERROR

      public static final Result.Code AUTHENTICATION_ERROR
    • AUTHORIZATION_ERROR

      public static final Result.Code AUTHORIZATION_ERROR
    • INVALID_AUTHORIZATION_INFORMATION_ERROR

      public static final Result.Code INVALID_AUTHORIZATION_INFORMATION_ERROR
    • OBJECT_PENDING_TRANSFER

      public static final Result.Code OBJECT_PENDING_TRANSFER
    • OBJECT_NOT_PENDING_TRANSFER

      public static final Result.Code OBJECT_NOT_PENDING_TRANSFER
    • OBJECT_EXISTS

      public static final Result.Code OBJECT_EXISTS
    • OBJECT_DOES_NOT_EXIST

      public static final Result.Code OBJECT_DOES_NOT_EXIST
    • STATUS_PROHIBITS_OPERATION

      public static final Result.Code STATUS_PROHIBITS_OPERATION
    • ASSOCIATION_PROHIBITS_OPERATION

      public static final Result.Code ASSOCIATION_PROHIBITS_OPERATION
    • PARAMETER_VALUE_POLICY_ERROR

      public static final Result.Code PARAMETER_VALUE_POLICY_ERROR
    • UNIMPLEMENTED_OBJECT_SERVICE

      public static final Result.Code UNIMPLEMENTED_OBJECT_SERVICE
    • COMMAND_FAILED

      public static final Result.Code COMMAND_FAILED
    • AUTHENTICATION_ERROR_CLOSING_CONNECTION

      public static final Result.Code AUTHENTICATION_ERROR_CLOSING_CONNECTION
  • Field Details

    • code

      public final int code
      A four-digit (positive) number that describes the success or failure of the command.
    • msg

      public final String msg
      A human-readable description of the response code.
    • msgLang

      public final String msgLang
      An RFC 4646 language code.
      See Also:
  • Method Details

    • values

      public static Result.Code[] 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 Result.Code 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
    • isSuccess

      public boolean isSuccess()
      Returns true iff the response code is in the 1xxx category, representing success.