Package google.registry.model.eppoutput
Enum Class Result.Code
- All Implemented Interfaces:
Serializable
,Comparable<Result.Code>
,Constable
- Enclosing class:
Result
"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."
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>>
-
Enum Constant Summary
Enum ConstantDescription -
Field Summary
-
Method Summary
Modifier and TypeMethodDescriptionboolean
Returns true iff the response code is in the 1xxx category, representing success.static Result.Code
Returns the enum constant of this class with the specified name.static Result.Code[]
values()
Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
SUCCESS
-
SUCCESS_WITH_ACTION_PENDING
-
SUCCESS_WITH_NO_MESSAGES
-
SUCCESS_WITH_ACK_MESSAGE
-
SUCCESS_AND_CLOSE
-
UNKNOWN_COMMAND
-
SYNTAX_ERROR
-
COMMAND_USE_ERROR
-
REQUIRED_PARAMETER_MISSING
-
PARAMETER_VALUE_RANGE_ERROR
-
PARAMETER_VALUE_SYNTAX_ERROR
-
UNIMPLEMENTED_PROTOCOL_VERSION
-
UNIMPLEMENTED_COMMAND
-
UNIMPLEMENTED_OPTION
-
UNIMPLEMENTED_EXTENSION
-
AUTHENTICATION_ERROR
-
AUTHORIZATION_ERROR
-
INVALID_AUTHORIZATION_INFORMATION_ERROR
-
OBJECT_PENDING_TRANSFER
-
OBJECT_NOT_PENDING_TRANSFER
-
OBJECT_EXISTS
-
OBJECT_DOES_NOT_EXIST
-
STATUS_PROHIBITS_OPERATION
-
ASSOCIATION_PROHIBITS_OPERATION
-
PARAMETER_VALUE_POLICY_ERROR
-
UNIMPLEMENTED_OBJECT_SERVICE
-
COMMAND_FAILED
-
AUTHENTICATION_ERROR_CLOSING_CONNECTION
-
-
Field Details
-
code
public final int codeA four-digit (positive) number that describes the success or failure of the command. -
msg
A human-readable description of the response code. -
msgLang
An RFC 4646 language code.- See Also:
-
-
Method Details
-
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
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 nameNullPointerException
- if the argument is null
-
isSuccess
public boolean isSuccess()Returns true iff the response code is in the 1xxx category, representing success.
-