| Modifier and Type | Method and Description |
|---|---|
ResultCodeEnum |
CursorLdapReferralException.getResultCode()
Always returns
REFERRAL |
| Modifier and Type | Field and Description |
|---|---|
protected ResultCodeEnum |
LdapOperationException.resultCode
The operation resultCode
|
| Modifier and Type | Method and Description |
|---|---|
ResultCodeEnum |
AbstractLdapReferralException.getResultCode()
Always returns
REFERRAL |
ResultCodeEnum |
LdapOperationException.getResultCode()
Gets the LDAP result code that would be associated with this exception.
|
ResultCodeEnum |
LdapReferralException.getResultCode()
Always returns
REFERRAL |
| Modifier and Type | Method and Description |
|---|---|
private void |
LdapInvalidDnException.checkResultCode(ResultCodeEnum resultCode)
Checks to make sure the resultCode value is right for this exception
type.
|
private void |
LdapInvalidAttributeValueException.checkResultCode(ResultCodeEnum resultCode)
Checks to make sure the resultCode value is right for this exception
type.
|
private void |
LdapSchemaViolationException.checkResultCode(ResultCodeEnum resultCode)
Checks to make sure the resultCode value is right for this exception
type.
|
private void |
LdapServiceUnavailableException.checkResultCode(ResultCodeEnum resultCode)
Checks to make sure the resultCode value is right for this exception
type.
|
private void |
LdapAuthenticationNotSupportedException.checkResultCode(ResultCodeEnum resultCode)
Checks to make sure the resultCode value is right for this exception
type.
|
private void |
LdapUnwillingToPerformException.checkResultCode(ResultCodeEnum resultCode)
Checks to make sure the resultCode value is right for this exception
type.
|
| 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.
|
LdapInvalidAttributeValueException(ResultCodeEnum resultCode,
String message,
Throwable cause)
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.
|
LdapInvalidDnException(ResultCodeEnum resultCode,
String message,
Throwable cause)
Creates a new instance of LdapInvalidDnException.
|
LdapOperationException(ResultCodeEnum resultCode,
String message)
Creates a new instance of LdapOperationException.
|
LdapOperationException(ResultCodeEnum resultCode,
String message,
Throwable cause)
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.
|
LdapSchemaViolationException(ResultCodeEnum resultCode,
String message,
Throwable cause) |
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.
|
LdapUnwillingToPerformException(ResultCodeEnum resultCode,
String message,
Throwable cause) |
| Modifier and Type | Field and Description |
|---|---|
private ResultCodeEnum |
LdapResultImpl.resultCode
Resultant operation error code - defaults to SUCCESS
|
| Modifier and Type | Field and Description |
|---|---|
private static Set<ResultCodeEnum> |
ResultCodeEnum.ADD_CODES
A set of result code enumerations that may result from add operations.
|
private static Set<ResultCodeEnum> |
ResultCodeEnum.AUTHENTICATION_NOT_SUPPORTED_EXCEPTION_CODES
A set of ResultCodes containing those that may correspond to a
Exception. |
private static Set<ResultCodeEnum> |
ResultCodeEnum.BIND_CODES
A set of result code enumerations that may result from bind operations.
|
private static Set<ResultCodeEnum> |
ResultCodeEnum.COMPARE_CODES
A set of result code enumerations that may result from compare
operations.
|
private static Set<ResultCodeEnum> |
ResultCodeEnum.DELETE_CODES
A set of result code enumerations that may result from delete operations.
|
private static Set<ResultCodeEnum> |
ResultCodeEnum.EMPTY_RESULT_CODE_SET |
private static Set<ResultCodeEnum> |
ResultCodeEnum.EXTENDED_CODES
A set of result code enumerations that could result from extended
operations.
|
private static Set<ResultCodeEnum> |
ResultCodeEnum.INVALID_ATTRIBUTE_VALUE_EXCEPTION_CODES
A set of ResultCodes containing those that may correspond to a
Exception. |
private static Set<ResultCodeEnum> |
ResultCodeEnum.INVALID_NAME_EXCEPTION_CODES
A set of ResultCodes containing those that may correspond to a
Exception. |
private static Set<ResultCodeEnum> |
ResultCodeEnum.LIMIT_EXCEEDED_EXCEPTION_CODES
A set of ResultCodes containing those that may correspond to a
Exception. |
private static Set<ResultCodeEnum> |
ResultCodeEnum.MODIFY_CODES
A set of result code enumerations that may result from modify operations.
|
private static Set<ResultCodeEnum> |
ResultCodeEnum.MODIFYDN_CODES
A set of result code enumerations resulting from modifyDn operations.
|
private static Set<ResultCodeEnum> |
ResultCodeEnum.NAMING_EXCEPTION_CODES
A set of ResultCodes containing those that may correspond to NamingException.
|
private static Set<ResultCodeEnum> |
ResultCodeEnum.NON_ERRONEOUS_CODES
Five result codes that may be returned in LDAPResult are not used to
indicate an error.
|
private static Set<ResultCodeEnum> |
ResultCodeEnum.OPERATION_NOT_SUPPORTED_EXCEPTION_CODES
A set of ResultCodes containing those that may correspond to a
Exception. |
private static Set<ResultCodeEnum> |
ResultCodeEnum.PARTIAL_RESULTS_EXCEPTION_CODES
A set of ResultCodes containing those that may correspond to a
Exception. |
private static Set<ResultCodeEnum> |
ResultCodeEnum.SCHEMA_VIOLATION_EXCEPTION_CODES
A set of ResultCodes containing those that may correspond to a
SchemaViolationException. |
private static Set<ResultCodeEnum> |
ResultCodeEnum.SEARCH_CODES
A set of result code enumerations that may result from search operations.
|
private static Set<ResultCodeEnum> |
ResultCodeEnum.SERVICE_UNAVAILABLE_CODES
A set of ResultCodes containing those that may correspond to a
Exception. |
| 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.
|
ResultCodeEnum |
LdapResult.getResultCode()
Gets the result code enumeration associated with the response.
|
static ResultCodeEnum |
ResultCodeEnum.getResultCode(int value)
Gets the ResultCode enum from its integer 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 |
|---|---|
private static Set<ResultCodeEnum> |
ResultCodeEnum.getResultCodes(Throwable t)
Gets the set of result codes a Throwable may map to.
|
private static Set<ResultCodeEnum> |
ResultCodeEnum.intersection(Set<ResultCodeEnum> s1,
Set<ResultCodeEnum> s2) |
| Modifier and Type | Method and Description |
|---|---|
void |
LdapResultImpl.setResultCode(ResultCodeEnum resultCode)
Sets the result code enumeration associated with the response.
|
void |
LdapResult.setResultCode(ResultCodeEnum resultCode)
Sets the result code enumeration associated with the response.
|
| Modifier and Type | Method and Description |
|---|---|
private static Set<ResultCodeEnum> |
ResultCodeEnum.intersection(Set<ResultCodeEnum> s1,
Set<ResultCodeEnum> s2) |
private static Set<ResultCodeEnum> |
ResultCodeEnum.intersection(Set<ResultCodeEnum> s1,
Set<ResultCodeEnum> s2) |
| Modifier and Type | Method and Description |
|---|---|
static NoticeOfDisconnect |
NoticeOfDisconnect.createNoticeOfDisconnect(ResultCodeEnum rcode)
Create a NoD associated with a result code enum
|
| Constructor and Description |
|---|
AddNoDResponse(ResultCodeEnum rcode)
Creates a new instance of NoticeOfDisconnect.
|
BindNoDResponse(ResultCodeEnum rcode)
Creates a new instance of NoticeOfDisconnect.
|
CompareNoDResponse(ResultCodeEnum rcode)
Creates a new instance of NoticeOfDisconnect.
|
DeleteNoDResponse(ResultCodeEnum rcode)
Creates a new instance of NoticeOfDisconnect.
|
ExtendedNoDResponse(ResultCodeEnum rcode)
Creates a new instance of NoticeOfDisconnect.
|
ModifyDnNoDResponse(ResultCodeEnum rcode)
Creates a new instance of NoticeOfDisconnect.
|
ModifyNoDResponse(ResultCodeEnum rcode)
Creates a new instance of NoticeOfDisconnect.
|
NoticeOfDisconnect(ResultCodeEnum rcode)
Creates a new instance of NoticeOfDisconnect.
|
SearchNoDResponse(ResultCodeEnum rcode)
Creates a new instance of NoticeOfDisconnect.
|
Copyright © 2003–2019 The Apache Software Foundation. All rights reserved.