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