org.apache.directory.shared.ldap.exception
Class LdapReferralException
java.lang.Object
java.lang.Throwable
java.lang.Exception
javax.naming.NamingException
javax.naming.ReferralException
org.apache.directory.shared.ldap.exception.LdapReferralException
- All Implemented Interfaces:
- Serializable, LdapException
public class LdapReferralException
- extends ReferralException
- implements LdapException
A ReferralException which associates a resultCode namely the
ResultCodeEnum.REFERRAL
resultCode with the exception.
- Version:
- $Rev: 434411 $
- Author:
- Apache Directory Project
- See Also:
LdapException
,
ReferralException
,
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 |
LdapReferralException
public LdapReferralException(Collection refs)
- See Also:
ReferralException.ReferralException()
LdapReferralException
public LdapReferralException(Collection refs,
String explanation)
- See Also:
ReferralException.ReferralException(java.lang.String)
getResultCode
public ResultCodeEnum getResultCode()
- Always returns
ResultCodeEnum.REFERRAL
- Specified by:
getResultCode
in interface LdapException
- Returns:
- the LDAP result code corresponding to this exception type.
- See Also:
LdapException.getResultCode()
getReferralInfo
public Object getReferralInfo()
- Specified by:
getReferralInfo
in class ReferralException
getReferralContext
public Context getReferralContext()
throws NamingException
- Specified by:
getReferralContext
in class ReferralException
- Throws:
NamingException
getReferralContext
public Context getReferralContext(Hashtable arg)
throws NamingException
- Specified by:
getReferralContext
in class ReferralException
- Throws:
NamingException
skipReferral
public boolean skipReferral()
- Specified by:
skipReferral
in class ReferralException
retryReferral
public void retryReferral()
- Specified by:
retryReferral
in class ReferralException
Copyright © 2004-2012. All Rights Reserved.