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

java.lang.Object
  extended byjava.lang.Throwable
      extended byjava.lang.Exception
          extended byjavax.naming.NamingException
              extended byjavax.naming.ContextNotEmptyException
                  extended byorg.apache.directory.shared.ldap.exception.LdapContextNotEmptyException
All Implemented Interfaces:
LdapException, java.io.Serializable

public class LdapContextNotEmptyException
extends javax.naming.ContextNotEmptyException
implements LdapException

A ContextNotEmptyException which contains an LDAP result code.

Version:
$Rev: 379008 $
Author:
Apache Directory Project
See Also:
Serialized Form

Field Summary
 
Fields inherited from class javax.naming.NamingException
remainingName, resolvedName, resolvedObj, rootException
 
Constructor Summary
LdapContextNotEmptyException()
           
LdapContextNotEmptyException(java.lang.String explanation)
           
 
Method Summary
 ResultCodeEnum getResultCode()
          Gets the LDAP ResultCode for this exception type.
 
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

LdapContextNotEmptyException

public LdapContextNotEmptyException()

LdapContextNotEmptyException

public LdapContextNotEmptyException(java.lang.String explanation)
Method Detail

getResultCode

public ResultCodeEnum getResultCode()
Gets the LDAP ResultCode for this exception type.

Specified by:
getResultCode in interface LdapException
Returns:
ResultCodeEnum.NOTALLOWEDONNONLEAF always


Copyright © 2003-2006 . All Rights Reserved.