org.apache.directory.shared.ldap.exception
Class LdapNamingException
java.lang.Object
java.lang.Throwable
java.lang.Exception
javax.naming.NamingException
org.apache.directory.shared.ldap.exception.LdapNamingException
- All Implemented Interfaces:
- Serializable, LdapException
public class LdapNamingException
- extends NamingException
- implements LdapException
Extends the root NamingException by adding LDAP specific properties to it.
- Version:
- $Rev: 434411 $
- Author:
- Apache Directory Project
- See Also:
-
LDAP ResultCode to JNDI Exception Mappings,
Serialized Form
Methods inherited from class javax.naming.NamingException |
appendRemainingComponent, appendRemainingName, getCause, getExplanation, getRemainingName, getResolvedName, getResolvedObj, getRootCause, initCause, setRemainingName, setResolvedName, setResolvedObj, setRootCause, toString, toString |
LdapNamingException
public LdapNamingException(ResultCodeEnum resultCode)
- Creates an Eve NamingException.
- Parameters:
resultCode
- the LDAP resultCode this exception is associated with
LdapNamingException
public LdapNamingException(String explanation,
ResultCodeEnum resultCode)
- Creates an Eve NamingException.
- Parameters:
explanation
- an explanation for the failureresultCode
- the LDAP resultCode this exception is associated with
getResultCode
public ResultCodeEnum getResultCode()
- Gets the LDAP resultCode this exception is associated with.
- Specified by:
getResultCode
in interface LdapException
- Returns:
- the LDAP resultCode this exception is associated with
Copyright © 2004-2012. All Rights Reserved.