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

java.lang.Object
  extended by java.lang.Throwable
      extended by java.lang.Exception
          extended by javax.naming.NamingException
              extended by javax.naming.OperationNotSupportedException
                  extended by org.apache.directory.shared.ldap.exception.LdapOperationNotSupportedException
All Implemented Interfaces:
java.io.Serializable, LdapException

public class LdapOperationNotSupportedException
extends javax.naming.OperationNotSupportedException
implements LdapException

An LDAPException that extends the OperationNotSupportedException carrying with it the corresponding result codes for this condition.

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

Field Summary
 
Fields inherited from class javax.naming.NamingException
remainingName, resolvedName, resolvedObj, rootException
 
Constructor Summary
LdapOperationNotSupportedException(ResultCodeEnum resultCode)
           
LdapOperationNotSupportedException(java.lang.String description, ResultCodeEnum resultCode)
           
 
Method Summary
 ResultCodeEnum getResultCode()
          Gets the LDAP result code that would be associated with this exception.
 
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

LdapOperationNotSupportedException

public LdapOperationNotSupportedException(java.lang.String description,
                                          ResultCodeEnum resultCode)

LdapOperationNotSupportedException

public LdapOperationNotSupportedException(ResultCodeEnum resultCode)
Method Detail

getResultCode

public ResultCodeEnum getResultCode()
Description copied from interface: LdapException
Gets the LDAP result code that would be associated with this exception.

Specified by:
getResultCode in interface LdapException
Returns:
the LDAP result code corresponding to this exception type.


Copyright © 2003-2009 Apache Software Foundation. All Rights Reserved.