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, setResolvedDnaddSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toStringpublic LdapReferralException(Collection<String> refs)
ReferralException.ReferralException()public LdapReferralException(Collection<String> refs, String explanation)
public ResultCodeEnum getResultCode()
ResultCodeEnum.REFERRALgetResultCode in class AbstractLdapReferralExceptionLdapException#getResultCode()public String getReferralInfo()
public Context getReferralContext() throws NamingException
getReferralContext in class AbstractLdapReferralExceptionNamingExceptionpublic Context getReferralContext(Hashtable<?,?> arg) throws NamingException
getReferralContext in class AbstractLdapReferralExceptionNamingExceptionpublic boolean skipReferral()
public void retryReferral()
retryReferral in class AbstractLdapReferralExceptionpublic DN getRemainingDn()
getRemainingDn in class AbstractLdapReferralExceptionpublic void setRemainingDn(DN remainingDn)
setRemainingDn in class AbstractLdapReferralExceptionremainingDn - the remainingName to setpublic Object getResolvedObject()
getResolvedObject in class AbstractLdapReferralExceptionpublic void setResolvedObject(Object resolvedObject)
setResolvedObject in class AbstractLdapReferralExceptionresolvedObject - the resolvedObject to setCopyright © 2003–2016 The Apache Software Foundation. All rights reserved.