public class LdapUnwillingToPerformException extends LdapOperationException
LdapOperationException
carrying with it the corresponding result codes for this condition.| Modifier and Type | Field and Description |
|---|---|
(package private) static long |
serialVersionUID
The serial version UUID
|
resolvedDn, resultCode| Constructor and Description |
|---|
LdapUnwillingToPerformException()
Creates a new instance of LdapUnwillingToPerformException, with
a default ResultCode to UNWILING_TO_PERFORM.
|
LdapUnwillingToPerformException(ResultCodeEnum resultCode)
Creates a new instance of LdapUnwillingToPerformException.
|
LdapUnwillingToPerformException(ResultCodeEnum resultCode,
java.lang.String message)
Creates a new instance of LdapUnwillingToPerformException.
|
LdapUnwillingToPerformException(ResultCodeEnum resultCode,
java.lang.String message,
java.lang.Throwable cause) |
LdapUnwillingToPerformException(java.lang.String message)
Creates a new instance of LdapUnwillingToPerformException.
|
| Modifier and Type | Method and Description |
|---|---|
private void |
checkResultCode(ResultCodeEnum resultCode)
Checks to make sure the resultCode value is right for this exception
type.
|
getResolvedDn, getResultCode, setResolvedDnstatic final long serialVersionUID
public LdapUnwillingToPerformException()
public LdapUnwillingToPerformException(ResultCodeEnum resultCode, java.lang.String message)
resultCode - the ResultCodeEnum for this exceptionmessage - The exception messagepublic LdapUnwillingToPerformException(ResultCodeEnum resultCode, java.lang.String message, java.lang.Throwable cause)
resultCode - the ResultCodeEnum for this exceptionmessage - The exception messagecause - The root cause for this exceptionpublic LdapUnwillingToPerformException(java.lang.String message)
message - The exception messagepublic LdapUnwillingToPerformException(ResultCodeEnum resultCode)
resultCode - the ResultCodeEnum for this exceptionprivate void checkResultCode(ResultCodeEnum resultCode)
java.lang.IllegalArgumentException - if the result code is not one of
ResultCodeEnum.UNWILLING_TO_PERFORM,
ResultCodeEnum.UNAVAILABLE_CRITICAL_EXTENSION.