org.apache.directory.shared.ldap.exception
Class LdapNoPermissionException
java.lang.Object
java.lang.Throwable
java.lang.Exception
javax.naming.NamingException
javax.naming.NamingSecurityException
javax.naming.NoPermissionException
org.apache.directory.shared.ldap.exception.LdapNoPermissionException
- All Implemented Interfaces:
- Serializable, LdapException
public class LdapNoPermissionException
- extends NoPermissionException
- implements LdapException
A NoPermissionException which associates a resultCode namely the
ResultCodeEnum.INSUFFICIENTACCESSRIGHTS
resultCode with the
exception.
- Version:
- $Rev: 434411 $
- Author:
- Apache Directory Project
- See Also:
LdapException
,
NoPermissionException
,
LDAP ResultCode to JNDI Exception Mappings,
Serialized Form
Methods inherited from class javax.naming.NamingException |
appendRemainingComponent, appendRemainingName, getCause, getExplanation, getRemainingName, getResolvedName, getResolvedObj, getRootCause, initCause, setRemainingName, setResolvedName, setResolvedObj, setRootCause, toString, toString |
LdapNoPermissionException
public LdapNoPermissionException()
- See Also:
NoPermissionException.NoPermissionException()
LdapNoPermissionException
public LdapNoPermissionException(String explanation)
- See Also:
NoPermissionException.NoPermissionException(String)
getResultCode
public ResultCodeEnum getResultCode()
- Always returns
ResultCodeEnum.INSUFFICIENTACCESSRIGHTS
- Specified by:
getResultCode
in interface LdapException
- Returns:
- the LDAP result code corresponding to this exception type.
- See Also:
LdapException.getResultCode()
Copyright © 2004-2012. All Rights Reserved.