public enum ErrorType extends java.lang.Enum<ErrorType>
Enum Constant and Description |
---|
AnyError
any transient or persistent, fatal or non-fatal error
|
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
Authinfo1 already exists
|
ErrAuthInfo1DoesNotExist
Authinfo1 does not exist
|
ErrAuthInfo2AlreadyExists
AuthInfo2 already exists
|
ErrAuthInfo2DoesNotExist
Specified AuthInfo2 does not exist
|
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
Deprecated.
no longer documented
|
ErrContactDoesNotExist
At least one contact does not exist
|
ErrContactMaintainedByDifferentProv
This contact is administered by another provider
|
ErrDnsDataIsNotAcceptable
Deprecated.
inconsistent naming, use
ErrDNSDataIsNotAcceptable |
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
Deprecated.
no longer documented
|
ErrDomainMaintainedByDifferentProv
This Domain is administered by another provider
|
ErrDomainMustBeConnected
The domain has to be connected/Domain "Status" is "failed"
|
ErrDomainToDeleteDoesNotExist
Deprecated.
no longer documented
|
ErrDsaKeySizeInvalid
Deprecated.
no longer documented
|
ErrDsaKeySizeParameterTOutOfRange
Deprecated.
no longer documented
|
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
Deprecated.
no longer documented
|
ErrFailedDueActiveDispute
The request cannot be processed because of an active DISPUTE
|
ErrFaxMissingInContact
Deprecated.
no longer documented
|
ErrGermanAddressReqForHolderOrAdmin
Deprecated.
mp longer documented
|
ErrHolderDoesNotMatch
Holder does not match
|
ErrHolderHandleManatoryForTransit
For TRANSIT, a Holder Handle is mandatory
|
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
|
ErrIllegalOperationOnOwnDomain
Illegal operation on own domain
|
ErrInadmissibleActionValue
Inadmissible value for keyword "Action"
|
ErrInadmissibleDisconnectValue
Inadmissible value for keyword "Disconnect"
|
ErrInadmissibleDomainValue
Incorrect format value for keyword "Domain"
|
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
Inadmissible value for keyword "Type"
|
ErrInRedemptionGracePeriod
the domain is in redemption grace period
|
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
Deprecated.
no longer documented
|
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
"Nsentry" has invalid owner
|
ErrInvalidNSEntryOwner2
"Nsentry" has invalid owner; note that his might be a duplicate of
ErrInvalidNSEntryOwner2 |
ErrInvalidNSEntryType
Incorrect value(s) for "Nsentry" (not IN A or IN MX entries)
|
ErrInvalidNServerOwner
Nserver has invalid owner
|
ErrInvalidOrMissingDomainData
Required domain data is missing
|
ErrInvalidSignatureAlgorithm
Invalid Signature Algorithm
|
ErrMailHeaderIsIncomplete
Mail header is incomplete
|
ErrMessageDoesNotExist
MsgId does not exist
|
ErrMissingAddressKey
Keyword "Address" cannot be recognized
|
ErrMissingAdminCKey
Deprecated.
no longer documented
|
ErrMissingAuthInfoKey
Keyword "AuthInfo" cannot be recognized
|
ErrMissingCityKey
Keyword "City" cannot be recognized
|
ErrMissingCountryCodeKey
Keyword "CountryCode" cannot be recognized
|
ErrMissingDNSInformation
DNS information is missing
|
ErrMissingDomainACEKey
Keyword "Domain-ace" cannot be recognized
|
ErrMissingHandleKey
Keyword "Handle" cannot be recognized
|
ErrMissingMailExchangeHost
Missing mail exchange host
|
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
Deprecated.
no longer documented
|
ErrNotInRedemptionGracePeriod
domain is not in redemption grace period
|
ErrNotOldestMessage
Only the first message in the queue may be deleted
|
ErrPhoneMissingInContact
Deprecated.
mp longer documented
|
ErrRecipientIsUnascertainable
Deprecated.
no longer documented
|
ErrRequiredChProvDataMissing
Required change provider request data is missing
|
ErrRequiredGlueRecMissing
Required glue record is missing
|
ErrRevokeFlagMustNotBeSet
Deprecated.
no longer documented
|
ErrRoleMustBePersonOrRole
Keyword "Organisation" invalid with "Type" "ORG"
|
ErrRsaKeyExponentTooLarge
Deprecated.
no longer documented
|
ErrRsaKeyModulusOutOfRange
Deprecated.
no longer documented
|
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
|
ErrTechnicalPredelegationProblem
Technical Predelegation Check Problem - please try later
|
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
|
ErrWithProviderQuotaExceeded
This month's quantity of "WithProvider" requests is exceeded
|
ErrWrongContactTypeForRole
Contact with wrong type
|
ErrZoneCheck
Name server error
|
ErrZoneKeyFlagMustBeSet
Deprecated.
no longer documented
|
FatalInternalError
Internal error
|
FatalNotLoggedIn
Login failed or you are not authorized
|
FatalRequestTooLong
The request message exceeds the size limit
|
FatalServiceTemporarilyNotAvailable
Registry Service temporarily not available
|
FatalTimeout
Timeout while processing request
|
FatalTooManyLogins
The maximum number of permitted logins has been reached
|
FatalUnsupportedEncoding
The encoding specified is not supported
|
FatalURITemplateValidationFailed
Validation of URI template failed
|
FatalXMLValidationFailed
Validation of XML request against Schema failed
|
InfoAckProcessed
Deprecated.
no longer documented
|
InfoActionDeterminesAuthInfoRemoval
An action determines the removal of the AuthInfo
|
InfoAuthInfoDeleted
authinfo has been deleted
|
InfoAuthInfoLetterNotDelivered
AuthInfo letter could not be delivered
|
InfoAvailWithProviderReq
This months available "WithProvider" requests
|
InfoChProvReceived
Deprecated.
no longer documented
|
InfoDNSDataCheckedAndAccepted
DNS data was checked and accepted
|
InfoDomainAlreadyHHMigrated
Deprecated.
no longer documented
|
InfoDomainDeleteByLegalDepartment
Domain was deleted according to DENIC Legal Department
|
InfoExistingAuthInfo2
Deprecated.
no longer documented
|
InfoNoRestoreDueToDispute
Domain bears a DISPUTE entry and can therefore not be restored
|
InfoTestEnvironment
Request was processed in test environment - not valid in real world
|
InfoUsedAccessQuota
Information about the used access quota
|
InfoZoneContactReplaced
Deprecated.
|
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
|
Modifier and Type | Field and Description |
---|---|
private static ErrorMapper<ErrorType> |
mapper
the mapper
|
private ErrorPattern |
pattern
the pattern
|
Modifier and Type | Method and Description |
---|---|
static java.util.List<ResultMessage> |
filter(Response resp,
ErrorType... types)
filter those result messages that match one of the given types
|
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 java.util.EnumSet<ErrorType> |
getSelectedErrors(Response resp,
ErrorType first,
ErrorType... other)
create a summary of all errors occurring in the response.
|
boolean |
matches(ErrorCode code)
return whether this error type matches the error code
|
boolean |
matches(ResultMessage msg)
return whether this error type matches the message
|
static ErrorType |
test(Response resp,
ErrorType... types)
test whether any of the given error types occur in the response.
|
static ErrorType |
test(ResultMessage msg,
ErrorType... types)
test whether any of the given error types 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.
|
public static final ErrorType InfoAuthInfoDeleted
public static final ErrorType InfoTestEnvironment
public static final ErrorType InfoUsedAccessQuota
@Deprecated public static final ErrorType InfoZoneContactReplaced
public static final ErrorType InfoAuthInfoLetterNotDelivered
public static final ErrorType InfoChProvReceived
public static final ErrorType InfoAckProcessed
public static final ErrorType InfoExistingAuthInfo2
public static final ErrorType InfoNoRestoreDueToDispute
public static final ErrorType InfoAvailWithProviderReq
public static final ErrorType InfoDomainAlreadyHHMigrated
public static final ErrorType InfoDNSDataCheckedAndAccepted
public static final ErrorType InfoActionDeterminesAuthInfoRemoval
public static final ErrorType InfoDomainDeleteByLegalDepartment
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 ErrAccessQuotaExceeded
public static final ErrorType ErrConcurrentWrite
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 ErrTechnicalPredelegationProblem
public static final ErrorType ErrRequiredGlueRecMissing
public static final ErrorType ErrZoneCheck
public static final ErrorType ErrIllegalNSNumber
public static final ErrorType ErrMissingMXPref
public static final ErrorType ErrRequiredChProvDataMissing
public static final ErrorType ErrDomainACEMismatch
public static final ErrorType ErrWithProviderQuotaExceeded
public static final ErrorType ErrHolderDoesNotMatch
public static final ErrorType ErrAccessControlLimitReached
public static final ErrorType ErrAuthInfo2DoesNotExist
public static final ErrorType ErrDnsDataIsNotAcceptable
ErrDNSDataIsNotAcceptable
public static final ErrorType ErrDNSDataIsNotAcceptable
public static final ErrorType ErrInRedemptionGracePeriod
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 ErrMissingDomainACEKey
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 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 ErrInvalidNServerOwner
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 ErrHolderHandleManatoryForTransit
public static final ErrorType ErrMissingAuthInfoKey
public static final ErrorType ErrAuthInfoDoesNotMatch
public static final ErrorType ErrIllegalOperationOnOwnDomain
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 ErrInvalidSignatureAlgorithm
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 ErrMissingMailExchangeHost
public static final ErrorType ErrInvalidNSEntryOwner2
ErrInvalidNSEntryOwner2
public static final ErrorType ErrAAAARequiresA
public static final ErrorType ErrDnskeyWrongFormat
public static final ErrorType ErrDnskeyInvalid
public static final ErrorType ErrNotInRedemptionGracePeriod
public static final ErrorType FatalTooManyLogins
public static final ErrorType FatalServiceTemporarilyNotAvailable
public static final ErrorType FatalTimeout
public static final ErrorType FatalRequestTooLong
public static final ErrorType FatalUnsupportedEncoding
public static final ErrorType FatalXMLValidationFailed
public static final ErrorType FatalURITemplateValidationFailed
public static final ErrorType FatalNotLoggedIn
public static final ErrorType FatalInternalError
public static final ErrorType AnyError
public static final ErrorType Other
public static final ErrorType None
private ErrorPattern pattern
private static final ErrorMapper<ErrorType> mapper
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 namejava.lang.NullPointerException
- if the argument is nullpublic boolean matches(ErrorCode code)
code
- the codetrue
if sopublic boolean matches(ResultMessage msg)
msg
- the messagetrue
if sopublic static java.util.EnumSet<ErrorType> getErrors(ErrorCode ec)
ec
- the error codepublic static java.util.EnumSet<ErrorType> getErrors(Response resp)
Other
is added to returned set.resp
- the responsepublic static java.util.EnumSet<ErrorType> getSelectedErrors(Response resp, ErrorType first, ErrorType... other)
Other
is added to returned set.resp
- the responsefirst
- the first error type to searchother
- the remaining error types to searchpublic static ErrorType test(ResultMessage msg, ErrorType... types)
Other
is returned. If the response has no result messages at all,
None
is returned.msg
- the result messagetypes
- the error types to test forOther
or None
public static ErrorType test(Response resp, ErrorType... types)
Other
is returned. If the response has no result messages at all,
None
is returned.resp
- the responsetypes
- the error types to test forOther
or None
public static java.util.List<ResultMessage> filter(Response resp, ErrorType... types)
resp
- the responsetypes
- the types to use for filteringCopyright © 2005-2013 Knipp Medien und Kommunikation GmbH