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
public class LdapUnwillingToPerformException extends LdapOperationException
An LDAPException that extends theLdapOperationException
carrying with it the corresponding result codes for this condition.- Author:
- Apache Directory Project
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description LdapUnwillingToPerformException()
Creates 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 org.apache.directory.api.ldap.model.exception.LdapOperationException
getResolvedDn, getResultCode, setResolvedDn
-
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
-
-
-
Constructor Detail
-
LdapUnwillingToPerformException
public LdapUnwillingToPerformException()
Creates a new instance of LdapUnwillingToPerformException, with a default ResultCode to UNWILING_TO_PERFORM.
-
LdapUnwillingToPerformException
public LdapUnwillingToPerformException(ResultCodeEnum resultCode, String message)
Creates a new instance of LdapUnwillingToPerformException.- Parameters:
resultCode
- the ResultCodeEnum for this exceptionmessage
- The exception message
-
LdapUnwillingToPerformException
public LdapUnwillingToPerformException(ResultCodeEnum resultCode, String message, Throwable cause)
- Parameters:
resultCode
- the ResultCodeEnum for this exceptionmessage
- The exception messagecause
- The root cause for this exception
-
LdapUnwillingToPerformException
public LdapUnwillingToPerformException(String message)
Creates a new instance of LdapUnwillingToPerformException.- Parameters:
message
- The exception message
-
LdapUnwillingToPerformException
public LdapUnwillingToPerformException(ResultCodeEnum resultCode)
Creates a new instance of LdapUnwillingToPerformException.- Parameters:
resultCode
- the ResultCodeEnum for this exception
-
-