|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD |
java.lang.Objectjava.lang.Enum<ErrorType>
de.knipp.rritoolkit.response.ErrorType
public enum ErrorType
enumeration that contains all known DENIC error codes as well as some generalized error values. The values also contain some pseudo codes that can be used to cover certain groups of error codes.
Enum Constant Summary | |
---|---|
ErrAAAARequiresA
AAAA resource record requires corresponding A resource record |
|
ErrAccessControlLimitReached
Access control limit reached |
|
ErrAccessQuotaExceeded
Access quota has been exceeded |
|
ErrActionKeyUnrecognized
Keyword "Action" cannot be recognized |
|
ErrActionNotAssignableToRequestType
Request type is missing, either keyword "Domain" or "Holder" |
|
ErrARecordRequired
An IN-A record must exist |
|
ErrAuthInfo1AlreadyExists
Deprecated. does no longer occur in the official list |
|
ErrAuthInfo1DoesNotExist
Authinfo1 does not exist |
|
ErrAuthInfo2AlreadyExists
Deprecated. does no longer occur in the official list |
|
ErrAuthInfoDoesNotMatch
AuthInfo does not match |
|
ErrAuthInfoExpireNotExactlyOnce
Keyword "AuthInfoExpire" can appear once and just once |
|
ErrAuthInfoExpireValueOutOfRange
Value for "AuthInfoExpire" is out of range |
|
ErrAuthInfoHashNotExactlyOnce
Keyword "AuthInfoHash" must appear once and just once |
|
ErrConcurrentWrite
Concurrent write access to the same business object is prohibited |
|
ErrConnectionTimeout
Connection released due to time-out |
|
ErrContactDoesNotExist
At least one contact does not exist |
|
ErrContactMaintainedByDifferentProv
This contact is administered by another provider |
|
ErrDnsDataIsNotAcceptable
The provided DNS data are not acceptable |
|
ErrDnskeyInvalid
Dnskey invalid |
|
ErrDnskeyWrongFormat
"Dnskey" wrong format |
|
ErrDomainACEMismatch
Mismatch between values for "Domain-ace" and "Domain" |
|
ErrDomainDoesNotExist
This domain doesn't exist |
|
ErrDomainExists
Domain already exists |
|
ErrDomainHasDescription
Domain has Description |
|
ErrDomainKeyUnrecognized
Keyword "Domain" cannot be recognized |
|
ErrDomainMaintainedByDifferentProv
This Domain is administered by another provider |
|
ErrDomainMustBeConnected
The domain has to be connected/Domain "Status" is "failed" |
|
ErrDomainToDeleteDoesNotExist
This domain doesn't exist |
|
ErrDsaKeySizeInvalid
DSA Key has invalid size (213+[0-8]*24 bytes) |
|
ErrDsaKeySizeParameterTOutOfRange
DSA Key Size Parameter T out of range (0 - 8) |
|
ErrDuplicateCtid
Ctid |
|
ErrDuplicateMXPrefValue
At least 2 MX entries have the identical preference |
|
ErrDuplicateNSEntry
Duplicate nsentry record is present |
|
ErrDuplicateNServerValue
Duplicate value(s) for "Nserver" |
|
ErrDuplicateRoleForContact
Contact occurs more than once in the same role |
|
ErrEMailMissingInContact
Within a contact "Email" is missing |
|
ErrFailedDueActiveChProv
The request cannot be processed because of an active CHPROV |
|
ErrFailedDueActiveDispute
The request cannot be processed because of an active DISPUTE |
|
ErrFaxMissingInContact
Within a contact "Fax" is missing |
|
ErrGermanAddressReqForHolderOrAdmin
Either the holder(s) or the admin-c must have a postal address in Germany |
|
ErrHolderDoesNotMatch
Holder does not match |
|
ErrHoldersDoNotMatchDatabase
The value(s) for "Holder" (and/or the number of holders) does not match the database |
|
ErrIllegalNSNumber
Illegal number of name servers in domain |
|
ErrInadmissibleActionValue
Inadmissible value for keyword "Action" |
|
ErrInadmissibleDisconnectValue
Inadmissible value for keyword "Disconnect" |
|
ErrInadmissibleDomainValue
Deprecated. does no longer occur in the official list |
|
ErrInadmissibleMsgTypeValue
Inadmissible value for keyword "MsgType" |
|
ErrInadmissibleRecursiveValue
Inadmissible value for keyword "Recursive" |
|
ErrInadmissibleVersionValue
Inadmissible value for keyword "Version" |
|
ErrInadmissibleWithProviderValue
Inadmissible value for keyword "WithProvider" |
|
ErrIncorrectCountryCodeValue
The value for "CountryCode" is not a valid ISO code |
|
ErrIncorrectDiscloseValue
Inadmissible value for keyword "Disclose" |
|
ErrIncorrectEMailValue
The value for "Email" has an invalid format |
|
ErrIncorrectPhoneOrFaxValue
The value for "Phone" and/or "Fax" has an invalid format |
|
ErrIncorrectSipValue
Invalid character(s) in "Sip" value |
|
ErrIncorrectTypeValue
Inadmissable value for keyword "Type" |
|
ErrInvalidActionValue
This value of "Action" is not permitted here |
|
ErrInvalidAuthInfoExpireFormat
Invalid format of value for keyword "AuthInfoExpire" |
|
ErrInvalidAuthInfoHashValue
Invalid format of value for keyword "AuthInfoHash" |
|
ErrInvalidCharactersInCtid
Invalid character(s) in "Ctid" value |
|
ErrInvalidCharactersInValue
The value contains one or more invalid characters |
|
ErrInvalidContact
An indicated contact is invalid |
|
ErrInvalidDnsData
Invalid DNS Data (Nsentry, Dnskey) |
|
ErrInvalidDNSType
Illegal dnsentry type |
|
ErrInvalidDomainValue
Invalid value for "Domain" |
|
ErrInvalidDomainValueFormat
Invalid format of value for keyword "Domain" |
|
ErrInvalidGlueIPAddress
The IP is invalid in at least one glue record |
|
ErrInvalidMXPrefValue
Preference values for MX-RR are outside of range (0-999) |
|
ErrInvalidNSEntryOwner
Mismatch(es) between "Nsentry" value(s) and "Domain" |
|
ErrInvalidNSEntryType
Incorrect value(s) for "Nsentry" (not IN A or IN MX entries) |
|
ErrInvalidOrMissingDomainData
Required domain data is missing |
|
ErrMailHeaderIsIncomplete
Mail header is incomplete |
|
ErrMessageDoesNotExist
MsgId does not exist |
|
ErrMissingAddressKey
Keyword "Address" cannot be recognized |
|
ErrMissingAdminCKey
Keyword "Admin-c" cannot be recognized |
|
ErrMissingCityKey
Keyword "City" cannot be recognized |
|
ErrMissingCountryCodeKey
Keyword "CountryCode" cannot be recognized |
|
ErrMissingDNSInformation
DNS information is missing |
|
ErrMissingHandleKey
Keyword "Handle" cannot be recognized |
|
ErrMissingMXPref
Missing mail exchange preference of DNS entry |
|
ErrMissingNameKey
Keyword "Name" cannot be recognized |
|
ErrMissingOrInvalidContactData
Required contact data are missing or invalid |
|
ErrMissingOrMultiplePasswordKeys
Keyword "Password" must appear once and just once |
|
ErrMissingOrMultipleUserKeys
Keyword "User" must appear once and just once |
|
ErrMissingPostalCodeKey
Keyword "PostalCode" cannot be recognized |
|
ErrMissingTypeKey
Keyword "Type" cannot be recognized |
|
ErrMoreThanFiveNSEntryKeys
More than five occurrences of keyword "Nsentry" |
|
ErrMultipleCityKeys
Keyword "City" must appear once and just once |
|
ErrMultipleCountryCodeKeys
Keyword "Country" must appear once and just once |
|
ErrMultipleDiscloseKeys
Keyword "Disclose" must appear once and just once |
|
ErrMultipleDisconnectKeys
Keyword "Disconnect" must appear once and just once |
|
ErrMultipleDomainACEKeys
Keyword "Domain-ace" must appear once and just once |
|
ErrMultipleHandleOrDomainKeys
Keyword "Handle" or "Domain" must appear once and just once |
|
ErrMultipleNameKeys
Keyword "Name" must appear once and just once |
|
ErrMultiplePostalCodeKeys
Keyword "PostalCode" must appear once and just once |
|
ErrMultipleRecursiveKeys
Keyword "Recursive" must appear once and just once |
|
ErrMultipleTargets
Domain holder migration allows one target handle only |
|
ErrMultipleTypeKeys
Keyword "Type" must appear once and just once |
|
ErrMultipleWithProviderKeys
Keyword "WithProvider" must appear once and just once |
|
ErrNameMustNotBeChanged
The value of "Name" cannot be changed with an UPDATE |
|
ErrNoOrderFound
No order found |
|
ErrNotOldestMessage
Only the first message in the queue may be deleted |
|
ErrPhoneMissingInContact
Within a contact "Phone" is missing |
|
ErrRecipientIsUnascertainable
Recipient is unascertainable |
|
ErrRequiredChProvDataMissing
Required change provider request data is missing |
|
ErrRequiredGlueRecMissing
Required glue record is missing |
|
ErrRevokeFlagMustNotBeSet
Revoke flag must not be set in DNSKEY |
|
ErrRoleMustBePersonOrRole
Keyword "Organisation" invalid with "Type" "ORG" |
|
ErrRsaKeyExponentTooLarge
RSA Key exponent is too big (more than 128 bits long) |
|
ErrRsaKeyModulusOutOfRange
RSA Key modulus out of range (512-4096 bits long) |
|
ErrSemanticErrorInRequest
Request shows semantics error |
|
ErrSignatureTooOld
Signature of request is correct but too old |
|
ErrSignatureVerificationFailed
Verification of signature failed |
|
ErrSyntaxErrorInRequest
The request has an invalid key/value pair format |
|
ErrTextPartNotProperlyEncoded
Text part has not been encoded properly |
|
ErrTooManyContactsForRole
Too many contacts are indicated |
|
ErrTooManyFailedLogins
Number of failed logins exceeds allowed maximum |
|
ErrTypeMustNotBeChanged
The value of "Type" cannot be changed with an UPDATE |
|
ErrUnauthorizedRequest
Unauthorized request |
|
ErrUnknownDNSType
Unknown dnsentry type |
|
ErrUserOrPasswordWrong
Authorization failure (value for "User" not an authorized handle or incorrect password) |
|
ErrValueCannotBeDeleted
This value cannot be deleted |
|
ErrValueTooLong
The value is too long |
|
ErrVersionKeyUnrecognized
Keyword "Version" cannot be recognized |
|
ErrWrongContactTypeForRole
Contact with wrong type |
|
ErrZoneCheck
Name server error |
|
ErrZoneKeyFlagMustBeSet
Zone Key flag must be set in DNSKEY |
|
FatalNotLoggedIn
Login failed or you are not authorized |
|
FatalRequestTooLong
The request message exceeds the size limit |
|
FatalTooManyLogins
The maximum number of permitted logins has been reached |
|
FatalUnsupportedEncoding
The encoding specified is not supported |
|
FatalXMLValidationFailed
Validation of XML request against Schema failed |
|
InfoAckProcessed
ACK received and processed |
|
InfoAuthInfoDeleted
AuthInfo deleted |
|
InfoAvailWithProviderReq
This months available "WithProvider" requests |
|
InfoChProvReceived
CHPROV-request received for your domain |
|
InfoDomainAlreadyHHMigrated
Domain already migrated to holder-handle |
|
InfoExistingAuthInfo2
Existing Authinfo2 for Domain |
|
InfoTestEnvironment
Request was processed in test environment - not valid in real world |
|
InfoUsedAccessQuota
Information about the used access quota |
|
InfoZoneContactReplaced
Value for "Zone-c" has been replaced by "DENIC-1000100-OPS" |
|
None
special value: no error at all |
|
Other
special value: other error than the specified ones |
|
WarnNSEntriesFaulty
The NS entries are faulty. |
|
WarnSecureEntryPointShouldBeSet
Secure Entry Point flag should be set in DNSKEY |
|
WarnUnauthorizedWithProviderReq
Unauthorized "WithProvider = true" request |
|
WarnUsedAccessQuota
Warning about reaching the access quota |
|
WarnZoneCheck
Zonecheck warning |
Field Summary | |
---|---|
private static ErrorMapper<ErrorType> |
mapper
the mapper |
private ErrorPattern |
pattern
the pattern |
Method Summary | |
---|---|
static java.util.List<ResultMessage> |
filter(Response resp,
ErrorType... codes)
filter those result messages that match one of the given codes |
static java.util.EnumSet<ErrorType> |
getErrors(ErrorCode ec)
return a collection of all detected errors |
static java.util.EnumSet<ErrorType> |
getErrors(Response resp)
create a summary of all errors occurring in the response. |
static ErrorType |
test(Response resp,
ErrorType... codes)
test whether any of the given error codes occur in the response. |
static ErrorType |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name. |
static ErrorType[] |
values()
Returns an array containing the constants of this enum type, in the order they are declared. |
Methods inherited from class java.lang.Enum |
---|
clone, compareTo, equals, finalize, getDeclaringClass, hashCode, name, ordinal, toString, valueOf |
Methods inherited from class java.lang.Object |
---|
getClass, notify, notifyAll, wait, wait, wait |
Enum Constant Detail |
---|
public static final ErrorType InfoTestEnvironment
public static final ErrorType InfoUsedAccessQuota
public static final ErrorType InfoZoneContactReplaced
public static final ErrorType InfoAuthInfoDeleted
public static final ErrorType InfoChProvReceived
public static final ErrorType InfoAckProcessed
public static final ErrorType InfoExistingAuthInfo2
public static final ErrorType InfoAvailWithProviderReq
public static final ErrorType InfoDomainAlreadyHHMigrated
public static final ErrorType WarnUsedAccessQuota
public static final ErrorType WarnNSEntriesFaulty
public static final ErrorType WarnZoneCheck
public static final ErrorType WarnUnauthorizedWithProviderReq
public static final ErrorType WarnSecureEntryPointShouldBeSet
public static final ErrorType ErrConcurrentWrite
public static final ErrorType ErrAccessQuotaExceeded
public static final ErrorType ErrUnauthorizedRequest
public static final ErrorType ErrSignatureVerificationFailed
public static final ErrorType ErrSignatureTooOld
public static final ErrorType ErrContactDoesNotExist
public static final ErrorType ErrValueCannotBeDeleted
public static final ErrorType ErrFailedDueActiveChProv
public static final ErrorType ErrFailedDueActiveDispute
public static final ErrorType ErrDomainMustBeConnected
public static final ErrorType ErrConnectionTimeout
public static final ErrorType ErrInvalidDomainValueFormat
public static final ErrorType ErrHoldersDoNotMatchDatabase
public static final ErrorType ErrGermanAddressReqForHolderOrAdmin
public static final ErrorType ErrPhoneMissingInContact
public static final ErrorType ErrFaxMissingInContact
public static final ErrorType ErrEMailMissingInContact
public static final ErrorType ErrRequiredGlueRecMissing
public static final ErrorType ErrZoneCheck
public static final ErrorType ErrIllegalNSNumber
public static final ErrorType ErrMissingMXPref
public static final ErrorType ErrHolderDoesNotMatch
public static final ErrorType ErrRequiredChProvDataMissing
public static final ErrorType ErrAccessControlLimitReached
public static final ErrorType ErrDnsDataIsNotAcceptable
public static final ErrorType ErrNoOrderFound
public static final ErrorType ErrTextPartNotProperlyEncoded
public static final ErrorType ErrMailHeaderIsIncomplete
public static final ErrorType ErrSyntaxErrorInRequest
public static final ErrorType ErrSemanticErrorInRequest
public static final ErrorType ErrActionKeyUnrecognized
public static final ErrorType ErrVersionKeyUnrecognized
public static final ErrorType ErrDomainKeyUnrecognized
public static final ErrorType ErrInvalidContact
public static final ErrorType ErrInvalidCharactersInValue
public static final ErrorType ErrValueTooLong
public static final ErrorType ErrInadmissibleActionValue
public static final ErrorType ErrInadmissibleVersionValue
public static final ErrorType ErrDuplicateCtid
public static final ErrorType ErrInvalidCharactersInCtid
public static final ErrorType ErrActionNotAssignableToRequestType
public static final ErrorType ErrTooManyFailedLogins
public static final ErrorType ErrMissingOrMultipleUserKeys
public static final ErrorType ErrMissingOrMultiplePasswordKeys
public static final ErrorType ErrUserOrPasswordWrong
public static final ErrorType ErrContactMaintainedByDifferentProv
public static final ErrorType ErrMultipleHandleOrDomainKeys
public static final ErrorType ErrMissingHandleKey
public static final ErrorType ErrMultipleTypeKeys
public static final ErrorType ErrMissingTypeKey
public static final ErrorType ErrMultipleNameKeys
public static final ErrorType ErrMissingNameKey
public static final ErrorType ErrMissingAddressKey
public static final ErrorType ErrMultiplePostalCodeKeys
public static final ErrorType ErrMissingPostalCodeKey
public static final ErrorType ErrMultipleCityKeys
public static final ErrorType ErrMissingCityKey
public static final ErrorType ErrMultipleCountryCodeKeys
public static final ErrorType ErrMissingCountryCodeKey
public static final ErrorType ErrMultipleDiscloseKeys
public static final ErrorType ErrIncorrectTypeValue
public static final ErrorType ErrIncorrectCountryCodeValue
public static final ErrorType ErrIncorrectEMailValue
public static final ErrorType ErrIncorrectSipValue
public static final ErrorType ErrIncorrectDiscloseValue
public static final ErrorType ErrIncorrectPhoneOrFaxValue
public static final ErrorType ErrMissingOrInvalidContactData
public static final ErrorType ErrInvalidActionValue
public static final ErrorType ErrRoleMustBePersonOrRole
public static final ErrorType ErrTypeMustNotBeChanged
public static final ErrorType ErrNameMustNotBeChanged
public static final ErrorType ErrDomainMaintainedByDifferentProv
public static final ErrorType ErrMultipleDomainACEKeys
public static final ErrorType ErrMissingAdminCKey
public static final ErrorType ErrMoreThanFiveNSEntryKeys
public static final ErrorType ErrMissingDNSInformation
public static final ErrorType ErrDuplicateRoleForContact
public static final ErrorType ErrInvalidDomainValue
public static final ErrorType ErrDomainDoesNotExist
public static final ErrorType ErrDomainACEMismatch
public static final ErrorType ErrDuplicateNServerValue
public static final ErrorType ErrInvalidMXPrefValue
public static final ErrorType ErrInvalidNSEntryType
public static final ErrorType ErrDuplicateNSEntry
public static final ErrorType ErrInvalidNSEntryOwner
public static final ErrorType ErrDuplicateMXPrefValue
public static final ErrorType ErrUnknownDNSType
public static final ErrorType ErrInvalidDNSType
public static final ErrorType ErrInvalidOrMissingDomainData
public static final ErrorType ErrTooManyContactsForRole
public static final ErrorType ErrWrongContactTypeForRole
public static final ErrorType ErrARecordRequired
public static final ErrorType ErrInvalidGlueIPAddress
public static final ErrorType ErrDomainExists
public static final ErrorType ErrInadmissibleDomainValue
public static final ErrorType ErrDomainToDeleteDoesNotExist
public static final ErrorType ErrMultipleDisconnectKeys
public static final ErrorType ErrInadmissibleDisconnectValue
public static final ErrorType ErrAuthInfoDoesNotMatch
public static final ErrorType ErrAuthInfoHashNotExactlyOnce
public static final ErrorType ErrAuthInfoExpireNotExactlyOnce
public static final ErrorType ErrInvalidAuthInfoHashValue
public static final ErrorType ErrInvalidAuthInfoExpireFormat
public static final ErrorType ErrAuthInfoExpireValueOutOfRange
public static final ErrorType ErrAuthInfo1AlreadyExists
public static final ErrorType ErrDomainHasDescription
public static final ErrorType ErrAuthInfo1DoesNotExist
public static final ErrorType ErrAuthInfo2AlreadyExists
public static final ErrorType ErrRecipientIsUnascertainable
public static final ErrorType ErrMultipleWithProviderKeys
public static final ErrorType ErrMultipleRecursiveKeys
public static final ErrorType ErrInadmissibleWithProviderValue
public static final ErrorType ErrInadmissibleRecursiveValue
public static final ErrorType ErrInadmissibleMsgTypeValue
public static final ErrorType ErrNotOldestMessage
public static final ErrorType ErrMessageDoesNotExist
public static final ErrorType ErrMultipleTargets
public static final ErrorType ErrZoneKeyFlagMustBeSet
public static final ErrorType ErrRevokeFlagMustNotBeSet
public static final ErrorType ErrRsaKeyModulusOutOfRange
public static final ErrorType ErrRsaKeyExponentTooLarge
public static final ErrorType ErrDsaKeySizeParameterTOutOfRange
public static final ErrorType ErrDsaKeySizeInvalid
public static final ErrorType ErrInvalidDnsData
public static final ErrorType ErrAAAARequiresA
public static final ErrorType ErrDnskeyWrongFormat
public static final ErrorType ErrDnskeyInvalid
public static final ErrorType FatalTooManyLogins
public static final ErrorType FatalRequestTooLong
public static final ErrorType FatalUnsupportedEncoding
public static final ErrorType FatalXMLValidationFailed
public static final ErrorType FatalNotLoggedIn
public static final ErrorType Other
public static final ErrorType None
Field Detail |
---|
private ErrorPattern pattern
private static final ErrorMapper<ErrorType> mapper
Method Detail |
---|
public static ErrorType[] values()
for (ErrorType c : ErrorType.values()) System.out.println(c);
public static ErrorType valueOf(java.lang.String name)
name
- the name of the enum constant to be returned.
java.lang.IllegalArgumentException
- if this enum type has no constant
with the specified name
java.lang.NullPointerException
- if the argument is nullpublic static java.util.EnumSet<ErrorType> getErrors(ErrorCode ec)
ec
- the error code
public static java.util.EnumSet<ErrorType> getErrors(Response resp)
Other
is added to returned set.
resp
- the response
public static ErrorType test(Response resp, ErrorType... codes)
Other
is returned. If the response has no result messages at all,
None
is returned.
resp
- the responsecodes
- the error codes to test for
Other
or None
public static java.util.List<ResultMessage> filter(Response resp, ErrorType... codes)
resp
- the responsecodes
- the codes to use for filtering
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD |