org.apache.directory.shared.ldap.exception
Class LdapInvalidNameException
java.lang.Object
java.lang.Throwable
java.lang.Exception
javax.naming.NamingException
javax.naming.InvalidNameException
org.apache.directory.shared.ldap.exception.LdapInvalidNameException
- All Implemented Interfaces:
- Serializable, LdapException
public class LdapInvalidNameException
- extends InvalidNameException
- implements LdapException
A subclass of InvalidNameException designed to hold an unequivocal LDAP
result code.
- Version:
- $Rev: 434411 $
- Author:
- Apache Directory Project
- See Also:
- Serialized Form
Methods inherited from class javax.naming.NamingException |
appendRemainingComponent, appendRemainingName, getCause, getExplanation, getRemainingName, getResolvedName, getResolvedObj, getRootCause, initCause, setRemainingName, setResolvedName, setResolvedObj, setRootCause, toString, toString |
LdapInvalidNameException
public LdapInvalidNameException(ResultCodeEnum resultCode)
- Creates an Eve NamingException.
- Parameters:
resultCode
- the LDAP resultCode this exception is associated with
LdapInvalidNameException
public LdapInvalidNameException(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.