org.apache.directory.shared.ldap.exception
Class LdapContextNotEmptyException
java.lang.Object
java.lang.Throwable
java.lang.Exception
javax.naming.NamingException
javax.naming.ContextNotEmptyException
org.apache.directory.shared.ldap.exception.LdapContextNotEmptyException
- All Implemented Interfaces:
- Serializable, LdapException
public class LdapContextNotEmptyException
- extends ContextNotEmptyException
- implements LdapException
A ContextNotEmptyException which contains an 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 |
LdapContextNotEmptyException
public LdapContextNotEmptyException()
LdapContextNotEmptyException
public LdapContextNotEmptyException(String explanation)
getResultCode
public ResultCodeEnum getResultCode()
- Gets the LDAP ResultCode for this exception type.
- Specified by:
getResultCode
in interface LdapException
- Returns:
ResultCodeEnum.NOTALLOWEDONNONLEAF
always
Copyright © 2004-2012. All Rights Reserved.