org.apache.directory.api.ldap.model.exception
Class LdapException

java.lang.Object
  extended by java.lang.Throwable
      extended by java.lang.Exception
          extended by org.apache.directory.api.ldap.model.exception.LdapException
All Implemented Interfaces:
Serializable
Direct Known Subclasses:
LdapLdifException, LdapOperationException, LdapSchemaException, 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
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
fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

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.


LdapException

public LdapException(String explanation,
                     Throwable cause)
Creates a new instance of LdapException.

Parameters:
explanation - The message associated with the exception
cause - The root cause for this exception


Copyright © 2003-2013 The Apache Software Foundation. All Rights Reserved.