public class LdapReferralException extends AbstractLdapReferralException
LdapOperationException
which associates a resultCode namely the
ResultCodeEnum.REFERRAL
resultCode with the exception.resolvedDn, resultCode
Constructor and Description |
---|
LdapReferralException(Collection<String> refs) |
LdapReferralException(Collection<String> refs,
String explanation) |
Modifier and Type | Method and Description |
---|---|
Context |
getReferralContext() |
Context |
getReferralContext(Hashtable<?,?> arg) |
String |
getReferralInfo() |
DN |
getRemainingDn() |
Object |
getResolvedObject() |
ResultCodeEnum |
getResultCode()
Always returns
ResultCodeEnum.REFERRAL |
void |
retryReferral() |
void |
setRemainingDn(DN remainingDn) |
void |
setResolvedObject(Object resolvedObject) |
boolean |
skipReferral() |
getResolvedDn, setResolvedDn
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
public LdapReferralException(Collection<String> refs)
public LdapReferralException(Collection<String> refs, String explanation)
public ResultCodeEnum getResultCode()
ResultCodeEnum.REFERRAL
getResultCode
in class AbstractLdapReferralException
LdapException#getResultCode()
public String getReferralInfo()
public Context getReferralContext() throws NamingException
getReferralContext
in class AbstractLdapReferralException
NamingException
public Context getReferralContext(Hashtable<?,?> arg) throws NamingException
getReferralContext
in class AbstractLdapReferralException
NamingException
public boolean skipReferral()
public void retryReferral()
retryReferral
in class AbstractLdapReferralException
public DN getRemainingDn()
getRemainingDn
in class AbstractLdapReferralException
public void setRemainingDn(DN remainingDn)
setRemainingDn
in class AbstractLdapReferralException
remainingDn
- the remainingName to setpublic Object getResolvedObject()
getResolvedObject
in class AbstractLdapReferralException
public void setResolvedObject(Object resolvedObject)
setResolvedObject
in class AbstractLdapReferralException
resolvedObject
- the resolvedObject to setCopyright © 2003-2013 The Apache Software Foundation. All Rights Reserved.