Class LdapException
- java.lang.Object
-
- java.lang.Throwable
-
- java.lang.Exception
-
- org.apache.directory.api.ldap.model.exception.LdapException
-
- All Implemented Interfaces:
Serializable
- Direct Known Subclasses:
InvalidConnectionException
,LdapConnectionTimeOutException
,LdapLdifException
,LdapOperationException
,LdapSchemaException
,LdapTlsHandshakeException
,LdapUriException
,LdapURLEncodingException
,OperationAbandonedException
,UrlDecoderException
public class LdapException extends Exception
An class for exceptions which add LDAP specific information to Exceptions.- Author:
- Apache Directory Project
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description LdapException()
Creates a new instance of LdapException.LdapException(String explanation)
Creates a new instance of LdapException.LdapException(String explanation, Throwable cause)
Creates a new instance of LdapException.LdapException(Throwable cause)
Creates a new instance of LdapException.
-
Method Summary
-
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
-
-
-
Constructor Detail
-
LdapException
public LdapException()
Creates a new instance of LdapException.
-
LdapException
public LdapException(String explanation)
Creates a new instance of LdapException.- Parameters:
explanation
- The message associated with the exception
-
LdapException
public LdapException(Throwable cause)
Creates a new instance of LdapException.- Parameters:
cause
- The root cause for this exception
-
LdapException
public LdapException(String explanation, Throwable cause)
Creates a new instance of LdapException.- Parameters:
explanation
- The message associated with the exceptioncause
- The root cause for this exception
-
-