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

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

public class LdapSizeLimitExceededException
extends javax.naming.SizeLimitExceededException
implements LdapException

A SizeLimitExceededException which associates a resultCode namely the ResultCodeEnum.SIZELIMITEXCEEDED resultCode with the exception.

Version:
$Rev: 379008 $
Author:
Apache Directory Project
See Also:
LdapException, SizeLimitExceededException, LDAP ResultCode to JNDI Exception Mappings, Serialized Form

Field Summary
 
Fields inherited from class javax.naming.NamingException
remainingName, resolvedName, resolvedObj, rootException
 
Constructor Summary
LdapSizeLimitExceededException()
           
LdapSizeLimitExceededException(java.lang.String explanation)
           
 
Method Summary
 ResultCodeEnum getResultCode()
          Always returns ResultCodeEnum.SIZELIMITEXCEEDED
 
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

LdapSizeLimitExceededException

public LdapSizeLimitExceededException()
See Also:
SizeLimitExceededException.SizeLimitExceededException()

LdapSizeLimitExceededException

public LdapSizeLimitExceededException(java.lang.String explanation)
See Also:
SizeLimitExceededException.SizeLimitExceededException(String)
Method Detail

getResultCode

public ResultCodeEnum getResultCode()
Always returns ResultCodeEnum.SIZELIMITEXCEEDED

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


Copyright © 2003-2006 . All Rights Reserved.