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 theLdapOperationExceptioncarrying with it the corresponding result codes for this condition.- Author:
- Apache Directory Project
- See Also:
- Serialized Form
-
-
Field Summary
Fields Modifier and Type Field Description (package private) static longserialVersionUIDThe serial version UUID-
Fields inherited from class org.apache.directory.api.ldap.model.exception.LdapOperationException
resolvedDn, resultCode
-
-
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
-
-
-
-
Field Detail
-
serialVersionUID
static final long serialVersionUID
The serial version UUID- See Also:
- Constant Field Values
-
-
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
-
-