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,
String message)
Creates a new instance of LdapUnwillingToPerformException.
|
LdapUnwillingToPerformException(ResultCodeEnum resultCode,
String message,
Throwable cause) |
LdapUnwillingToPerformException(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, setResolvedDnaddSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toStringstatic final long serialVersionUID
public LdapUnwillingToPerformException()
public LdapUnwillingToPerformException(ResultCodeEnum resultCode, String message)
resultCode - the ResultCodeEnum for this exceptionmessage - The exception messagepublic LdapUnwillingToPerformException(ResultCodeEnum resultCode, String message, Throwable cause)
resultCode - the ResultCodeEnum for this exceptionmessage - The exception messagecause - The root cause for this exceptionpublic LdapUnwillingToPerformException(String message)
message - The exception messagepublic LdapUnwillingToPerformException(ResultCodeEnum resultCode)
resultCode - the ResultCodeEnum for this exceptionprivate void checkResultCode(ResultCodeEnum resultCode)
resultCode - the code to checkIllegalArgumentException - if the result code is not one of
ResultCodeEnum.UNWILLING_TO_PERFORM,
ResultCodeEnum.UNAVAILABLE_CRITICAL_EXTENSION.Copyright © 2003–2019 The Apache Software Foundation. All rights reserved.