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

java.lang.Object
  extended by java.lang.Throwable
      extended by java.lang.Exception
          extended by javax.naming.NamingException
              extended by javax.naming.ConfigurationException
                  extended by org.apache.directory.shared.ldap.exception.LdapConfigurationException
All Implemented Interfaces:
java.io.Serializable, LdapException

public class LdapConfigurationException
extends javax.naming.ConfigurationException
implements LdapException

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

Version:
$Rev: 434411 $
Author:
Apache Directory Project
See Also:
LdapException, ConfigurationException, LDAP ResultCode to JNDI Exception Mappings, Serialized Form

Field Summary
 
Fields inherited from class javax.naming.NamingException
remainingName, resolvedName, resolvedObj, rootException
 
Constructor Summary
LdapConfigurationException()
           
LdapConfigurationException(java.lang.String explanation)
           
LdapConfigurationException(java.lang.String explanation, java.lang.Throwable t)
           
 
Method Summary
 ResultCodeEnum getResultCode()
          Always returns ResultCodeEnum.OTHER
 
Methods inherited from class javax.naming.NamingException
appendRemainingComponent, appendRemainingName, getCause, getExplanation, getRemainingName, getResolvedName, getResolvedObj, getRootCause, initCause, setRemainingName, setResolvedName, setResolvedObj, setRootCause, toString, toString
 
Methods inherited from class java.lang.Throwable
fillInStackTrace, getLocalizedMessage, getMessage, getStackTrace, printStackTrace, printStackTrace, printStackTrace, setStackTrace
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

LdapConfigurationException

public LdapConfigurationException()
See Also:
NoPermissionException.NoPermissionException()

LdapConfigurationException

public LdapConfigurationException(java.lang.String explanation)
See Also:
NoPermissionException.NoPermissionException( String )

LdapConfigurationException

public LdapConfigurationException(java.lang.String explanation,
                                  java.lang.Throwable t)
See Also:
NoPermissionException.NoPermissionException( String )
Method Detail

getResultCode

public ResultCodeEnum getResultCode()
Always returns ResultCodeEnum.OTHER

Specified by:
getResultCode in interface LdapException
Returns:
the LDAP result code corresponding to this exception type.
See Also:
LdapException.getResultCode()


Copyright © 2004-2012. All Rights Reserved.