Class LdapUnwillingToPerformException
java.lang.Object
java.lang.Throwable
java.lang.Exception
org.apache.directory.api.ldap.model.exception.LdapException
org.apache.directory.api.ldap.model.exception.LdapOperationException
org.apache.directory.api.ldap.model.exception.LdapUnwillingToPerformException
- All Implemented Interfaces:
Serializable
An LDAPException that extends the
LdapOperationException
carrying with it the corresponding result codes for this condition.- Author:
- Apache Directory Project
- See Also:
-
Field Summary
Fields inherited from class LdapOperationException
resolvedDn, resultCode -
Constructor Summary
ConstructorsConstructorDescriptionCreates a new instance of LdapUnwillingToPerformException, with a default ResultCode to UNWILING_TO_PERFORM.LdapUnwillingToPerformException(String message) Creates a new instance of LdapUnwillingToPerformException.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) -
Method Summary
Methods inherited from class LdapOperationException
getResolvedDn, getResultCode, setResolvedDnMethods inherited from class Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
Constructor Details
-
LdapUnwillingToPerformException
public LdapUnwillingToPerformException()Creates a new instance of LdapUnwillingToPerformException, with a default ResultCode to UNWILING_TO_PERFORM. -
LdapUnwillingToPerformException
Creates a new instance of LdapUnwillingToPerformException.- Parameters:
resultCode- the ResultCodeEnum for this exceptionmessage- The exception message
-
LdapUnwillingToPerformException
- Parameters:
resultCode- the ResultCodeEnum for this exceptionmessage- The exception messagecause- The root cause for this exception
-
LdapUnwillingToPerformException
Creates a new instance of LdapUnwillingToPerformException.- Parameters:
message- The exception message
-
LdapUnwillingToPerformException
Creates a new instance of LdapUnwillingToPerformException.- Parameters:
resultCode- the ResultCodeEnum for this exception
-