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

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

public class LdapNoSuchAttributeException
extends javax.naming.directory.NoSuchAttributeException
implements LdapException

A subclass of NoSuchAttributeException which holds the LDAP resultCode associated with the exception.

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

Field Summary
 
Fields inherited from class javax.naming.NamingException
remainingName, resolvedName, resolvedObj, rootException
 
Constructor Summary
LdapNoSuchAttributeException()
           
LdapNoSuchAttributeException(java.lang.String explanation)
           
 
Method Summary
 ResultCodeEnum getResultCode()
          Gets the LDAP result code that would be associated with this exception.
 
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

LdapNoSuchAttributeException

public LdapNoSuchAttributeException()
See Also:
NoSuchAttributeException.NoSuchAttributeException()

LdapNoSuchAttributeException

public LdapNoSuchAttributeException(java.lang.String explanation)
See Also:
NoSuchAttributeException.NoSuchAttributeException(String)
Method Detail

getResultCode

public ResultCodeEnum getResultCode()
Description copied from interface: LdapException
Gets the LDAP result code that would be associated with this exception.

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


Copyright © 2004-2010. All Rights Reserved.