Modifier and Type | Method and Description |
---|---|
ResultCodeEnum |
LdapResultDsml.getResultCode()
Get the result code
|
Modifier and Type | Method and Description |
---|---|
static String |
LdapResultEnum.getResultCodeDescr(ResultCodeEnum resultCode)
Gets the String description of a given result code
|
void |
LdapResultDsml.setResultCode(ResultCodeEnum resultCode)
Set the result code
|
Modifier and Type | Method and Description |
---|---|
ResultCodeEnum |
LdapResultCodec.getResultCode()
Get the result code
|
Modifier and Type | Method and Description |
---|---|
void |
LdapResultCodec.setResultCode(ResultCodeEnum resultCode)
Set the result code
|
Constructor and Description |
---|
ResponseCarryingException(String message,
InternalResultResponse response,
ResultCodeEnum code,
DN matchedDn,
Throwable cause)
Creates a DecoderException
|
Modifier and Type | Field and Description |
---|---|
protected ResultCodeEnum |
LdapOperationException.resultCode
The operation resultCode
|
Modifier and Type | Method and Description |
---|---|
ResultCodeEnum |
LdapOperationException.getResultCode()
Gets the LDAP result code that would be associated with this exception.
|
ResultCodeEnum |
AbstractLdapReferralException.getResultCode()
Always returns
REFERRAL |
ResultCodeEnum |
LdapReferralException.getResultCode()
Always returns
REFERRAL |
Constructor and Description |
---|
LdapAuthenticationNotSupportedException(ResultCodeEnum resultCode)
Creates a new instance of LdapAuthenticationNotSupportedException.
|
LdapAuthenticationNotSupportedException(ResultCodeEnum resultCode,
String message)
Creates a new instance of LdapAuthenticationNotSupportedException.
|
LdapInvalidAttributeValueException(ResultCodeEnum resultCode)
Creates a new instance of LdapInvalidAttributeValueException.
|
LdapInvalidAttributeValueException(ResultCodeEnum resultCode,
String message)
Creates a new instance of LdapInvalidAttributeValueException.
|
LdapInvalidDnException(ResultCodeEnum resultCode)
Creates a new instance of LdapInvalidDnException.
|
LdapInvalidDnException(ResultCodeEnum resultCode,
String message)
Creates a new instance of LdapInvalidDnException.
|
LdapOperationException(ResultCodeEnum resultCode,
String message)
Creates a new instance of LdapOperationException.
|
LdapSchemaViolationException(ResultCodeEnum resultCode)
Creates a new instance of LdapSchemaViolationException.
|
LdapSchemaViolationException(ResultCodeEnum resultCode,
String message)
Creates a new instance of LdapSchemaViolationException.
|
LdapServiceUnavailableException(ResultCodeEnum resultCode)
Creates a new instance of LdapServiceUnavailableException.
|
LdapServiceUnavailableException(ResultCodeEnum resultCode,
String message)
Creates a new instance of LdapServiceUnavailableException.
|
LdapUnwillingToPerformException(ResultCodeEnum resultCode)
Creates a new instance of LdapUnwillingToPerformException.
|
LdapUnwillingToPerformException(ResultCodeEnum resultCode,
String message)
Creates a new instance of LdapUnwillingToPerformException.
|
Modifier and Type | Field and Description |
---|---|
static Set<ResultCodeEnum> |
ResultCodeEnum.ADD_CODES
A set of result code enumerations that may result from add operations.
|
static Set<ResultCodeEnum> |
ResultCodeEnum.ALL_CODES
Set of all result code enumerations.
|
static Set<ResultCodeEnum> |
ResultCodeEnum.ATTRIBUTE_CODES
Contains the set of error codes associated with attribute problems.
|
static Set<ResultCodeEnum> |
ResultCodeEnum.AUTHENTICATIONNOTSUPPOERTEDEXCEPTION_CODES
A set of ResultCodes containing those that may correspond to a
Exception . |
static Set<ResultCodeEnum> |
ResultCodeEnum.BIND_CODES
A set of result code enumerations that may result from bind operations.
|
static Set<ResultCodeEnum> |
ResultCodeEnum.COMMON_CODES
A set of result code enumerations common to all operations.
|
static Set<ResultCodeEnum> |
ResultCodeEnum.COMPARE_CODES
A set of result code enumerations that may result from compare
operations.
|
static Set<ResultCodeEnum> |
ResultCodeEnum.DELETE_CODES
A set of result code enumerations that may result from delete operations.
|
static Set<ResultCodeEnum> |
ResultCodeEnum.EMPTY_RESULT_CODE_SET |
static Set<ResultCodeEnum> |
ResultCodeEnum.EXTENDED_CODES
A set of result code enumerations that could result from extended
operations.
|
static Set<ResultCodeEnum> |
ResultCodeEnum.GENERAL_CODES
This array holds the set of general error codes.
|
static Set<ResultCodeEnum> |
ResultCodeEnum.INVALIDATTRIBUTEVALUEEXCEPTION_CODES
A set of ResultCodes containing those that may correspond to a
Exception . |
static Set<ResultCodeEnum> |
ResultCodeEnum.INVALIDNAMEEXCEPTION_CODES
A set of ResultCodes containing those that may correspond to a
Exception . |
static Set<ResultCodeEnum> |
ResultCodeEnum.LIMITEXCEEDEDEXCEPTION_CODES
A set of ResultCodes containing those that may correspond to a
Exception . |
static Set<ResultCodeEnum> |
ResultCodeEnum.MODIFY_CODES
A set of result code enumerations that may result from modify operations.
|
static Set<ResultCodeEnum> |
ResultCodeEnum.MODIFYDN_CODES
A set of result code enumerations resulting from modifyDn operations.
|
static Set<ResultCodeEnum> |
ResultCodeEnum.NAME_CODES
Stores the set of error codes associated with name problems.
|
static Set<ResultCodeEnum> |
ResultCodeEnum.NAMINGEXCEPTION_CODES
A set of ResultCodes containing those that may correspond to NamingException.
|
static Set<ResultCodeEnum> |
ResultCodeEnum.NON_ERRONEOUS_CODES
Five result codes that may be returned in LDAPResult are not used to
indicate an error.
|
static Set<ResultCodeEnum> |
ResultCodeEnum.OPERATIONNOTSUPPOERTEXCEPTION_CODES
A set of ResultCodes containing those that may correspond to a
Exception . |
static Set<ResultCodeEnum> |
ResultCodeEnum.PARTIAL_RESULTSEXCEPTION_CODES
A set of ResultCodes containing those that may correspond to a
Exception . |
static Set<ResultCodeEnum> |
ResultCodeEnum.SCHEMAVIOLATIONEXCEPTION_CODES
A set of ResultCodes containing those that may correspond to a
SchemaViolationException . |
static Set<ResultCodeEnum> |
ResultCodeEnum.SEARCH_CODES
A set of result code enumerations that may result from search operations.
|
static Set<ResultCodeEnum> |
ResultCodeEnum.SECURITY_CODES
Stores all the result codes associated with security related problems.
|
static Set<ResultCodeEnum> |
ResultCodeEnum.SERVICE_CODES
A service error reports a problem related to the provision of the service
[X511, Section 12.8].
|
static Set<ResultCodeEnum> |
ResultCodeEnum.SERVICEUNAVAILABLE_CODES
A set of ResultCodes containing those that may correspond to a
Exception . |
static Set<ResultCodeEnum> |
ResultCodeEnum.UPDATE_CODES
An update error reports problems related to attempts to add, delete, or
modify information in the DIB [X511, Section 12.9].
|
Modifier and Type | Method and Description |
---|---|
static ResultCodeEnum |
ResultCodeEnum.getBestEstimate(Throwable t,
MessageTypeEnum type)
Takes a guess at the result code to use if it cannot figure it out from
known Throwable to result code mappings.
|
ResultCodeEnum |
LdapResultImpl.getResultCode()
Gets the result code enumeration associated with the response.
|
static ResultCodeEnum |
ResultCodeEnum.getResultCode(int value) |
static ResultCodeEnum |
ResultCodeEnum.getResultCode(Throwable t)
Gets an LDAP result code from a Throwable if it can resolve it
unambiguously or returns null if it cannot resolve the exception to a
single ResultCode.
|
static ResultCodeEnum |
ResultCodeEnum.valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static ResultCodeEnum[] |
ResultCodeEnum.values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
Modifier and Type | Method and Description |
---|---|
static Set<ResultCodeEnum> |
ResultCodeEnum.getAddCodes()
Gets an array of result code enumerations resulting from add operations.
|
static Set<ResultCodeEnum> |
ResultCodeEnum.getAllCodes()
Gets all of the result code enumerations defined.
|
static Set<ResultCodeEnum> |
ResultCodeEnum.getAttributeCodes()
Gets an array of result code enumerations that report a problem related
to an attribute specified by the client in their request message..
|
static Set<ResultCodeEnum> |
ResultCodeEnum.getBindCodes()
Gets an array of result code enumerations resulting from bind operations.
|
static Set<ResultCodeEnum> |
ResultCodeEnum.getCommonCodes()
Gets an array of result code enumerations common to all operations.
|
static Set<ResultCodeEnum> |
ResultCodeEnum.getCompareCodes()
Gets an array of result code enumerations resulting from compare
operations.
|
static Set<ResultCodeEnum> |
ResultCodeEnum.getDeleteCodes()
Gets an array of result code enumerations resulting from delete
operations.
|
static Set<ResultCodeEnum> |
ResultCodeEnum.getExtendedCodes()
Gets an array of result code enumerations resulting from extended
operations.
|
static Set<ResultCodeEnum> |
ResultCodeEnum.getGeneralCodes()
Gets the set of general error codes.
|
static Set<ResultCodeEnum> |
ResultCodeEnum.getModifyCodes()
Gets an array of result code enumerations resulting from modify
operations.
|
static Set<ResultCodeEnum> |
ResultCodeEnum.getModifyDnCodes()
Gets an array of result code enumerations resulting from modifyDn
operations.
|
static Set<ResultCodeEnum> |
ResultCodeEnum.getNameCodes()
Gets an array of result code enumerations that report a problem related
to a distinguished name provided as an argument to a request message.
|
static Set<ResultCodeEnum> |
ResultCodeEnum.getNonErroneousCodes()
Gets the set of result code enumerations that do not represent
operational failures.
|
static Set<ResultCodeEnum> |
ResultCodeEnum.getResultCodes(Throwable t)
Gets the set of result codes a Throwable may map to.
|
static Set<ResultCodeEnum> |
ResultCodeEnum.getSearchCodes()
Gets an array of result code enumerations resulting from search
operations.
|
static Set<ResultCodeEnum> |
ResultCodeEnum.getSecurityCodes()
Gets an array of result code enumerations that report a problem related
to a problem in carrying out an operation for security reasons.
|
static Set<ResultCodeEnum> |
ResultCodeEnum.getServiceCodes()
Gets an array of result code enumerations that report a problem related
to the provision of the service.
|
static Set<ResultCodeEnum> |
ResultCodeEnum.getUpdateCodes()
Gets an array of result code enumerations that reports problems related
to attempts to add, delete, or modify information in the DIB.
|
Modifier and Type | Method and Description |
---|---|
void |
LdapResultImpl.setResultCode(ResultCodeEnum resultCode)
Sets the result code enumeration associated with the response.
|
Constructor and Description |
---|
CancelResponse(int messageId,
ResultCodeEnum rcode)
Create a new CancelResponse object
|
CertGenerationResponse(int messageId,
ResultCodeEnum rcode) |
GracefulShutdownResponse(int messageId,
ResultCodeEnum rcode) |
LaunchDiagnosticUiResponse(int messageId,
ResultCodeEnum rcode) |
Modifier and Type | Method and Description |
---|---|
ResultCodeEnum |
InternalLdapResult.getResultCode()
Gets the result code enumeration associated with the response.
|
Modifier and Type | Method and Description |
---|---|
void |
InternalLdapResult.setResultCode(ResultCodeEnum resultCode)
Sets the result code enumeration associated with the response.
|
Copyright © 2003-2012 Apache Software Foundation. All Rights Reserved.