org.apache.directory.shared.ldap.exception
Class LdapNameNotFoundException
java.lang.Object
java.lang.Throwable
java.lang.Exception
javax.naming.NamingException
javax.naming.NameNotFoundException
org.apache.directory.shared.ldap.exception.LdapNameNotFoundException
- All Implemented Interfaces:
- Serializable, LdapException
public class LdapNameNotFoundException
- extends NameNotFoundException
- implements LdapException
A NameNotFoundException holding LDAP specific information such as the LDAP
ResultCode.
- Version:
- $Rev: 434411 $
- Author:
- Apache Directory Project
- See Also:
NameNotFoundException
,
LDAP ResultCode to JNDI Exception Mappings,
Serialized Form
Method Summary |
ResultCodeEnum |
getResultCode()
Gets the ResultCode associated with this exception which will always be
ResultCodeEnum.NOSUCHOBJECT. |
Methods inherited from class javax.naming.NamingException |
appendRemainingComponent, appendRemainingName, getCause, getExplanation, getRemainingName, getResolvedName, getResolvedObj, getRootCause, initCause, setRemainingName, setResolvedName, setResolvedObj, setRootCause, toString, toString |
LdapNameNotFoundException
public LdapNameNotFoundException()
LdapNameNotFoundException
public LdapNameNotFoundException(String explanation)
getResultCode
public ResultCodeEnum getResultCode()
- Gets the ResultCode associated with this exception which will always be
ResultCodeEnum.NOSUCHOBJECT.
- Specified by:
getResultCode
in interface LdapException
- Returns:
- ResultCodeEnum.NOSUCHOBJECT
Copyright © 2004-2012. All Rights Reserved.