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

java.lang.Object
  extended by java.lang.Throwable
      extended by java.lang.Exception
          extended by org.apache.directory.api.ldap.model.exception.LdapException
              extended by org.apache.directory.api.ldap.model.exception.LdapOperationException
                  extended by org.apache.directory.api.ldap.model.exception.LdapConfigurationException
All Implemented Interfaces:
Serializable

public class LdapConfigurationException
extends LdapOperationException

A LdapException which associates a resultCode namely the ResultCodeEnum.OTHER resultCode with the exception.

Author:
Apache Directory Project
See Also:
Serialized Form

Field Summary
 
Fields inherited from class org.apache.directory.api.ldap.model.exception.LdapOperationException
resolvedDn, resultCode
 
Constructor Summary
LdapConfigurationException()
          Creates a new instance of LdapConfigurationException.
LdapConfigurationException(String message)
          Creates a new instance of LdapConfigurationException.
LdapConfigurationException(String message, Throwable cause)
          Creates a new instance of LdapConfigurationException.
 
Method Summary
 Throwable getCause()
           
 void setCause(Throwable cause)
          Set the root cause.
 
Methods inherited from class org.apache.directory.api.ldap.model.exception.LdapOperationException
getResolvedDn, getResultCode, setResolvedDn
 
Methods inherited from class java.lang.Throwable
fillInStackTrace, 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

LdapConfigurationException

public LdapConfigurationException(String message)
Creates a new instance of LdapConfigurationException.

Parameters:
message - The exception message

LdapConfigurationException

public LdapConfigurationException()
Creates a new instance of LdapConfigurationException.


LdapConfigurationException

public LdapConfigurationException(String message,
                                  Throwable cause)
Creates a new instance of LdapConfigurationException.

Parameters:
message - the exception message
cause - the cause
Method Detail

getCause

public Throwable getCause()
Overrides:
getCause in class Throwable
Returns:
the exception's cause

setCause

public void setCause(Throwable cause)
Set the root cause.

Parameters:
cause - the cause


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