org.apache.directory.shared.ldap.exception
Class LdapConfigurationException

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

public class LdapConfigurationException
extends LdapOperationException

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

Version:
$Rev: 924219 $
Author:
Apache Directory Project
See Also:
Serialized Form

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

Parameters:
message - The exception message

LdapConfigurationException

public LdapConfigurationException()
Creates a new instance of LdapAuthenticationException.


LdapConfigurationException

public LdapConfigurationException(java.lang.String message,
                                  java.lang.Throwable cause)
Method Detail

getCause

public java.lang.Throwable getCause()
Overrides:
getCause in class java.lang.Throwable
Returns:
Returns the Exception's cause

setCause

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

Parameters:
cause - The cause


Copyright © 2003-2011 Apache Software Foundation. All Rights Reserved.