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, setResolvedDnaddSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toStringpublic AbstractLdapReferralException(String explanation)
explanation - The associated messagepublic ResultCodeEnum getResultCode()
ResultCodeEnum.REFERRALgetResultCode in class LdapOperationExceptionLdapException#getResultCode()public Context getReferralContext() throws NamingException
NamingExceptionpublic Context getReferralContext(Hashtable<?,?> arg) throws NamingException
NamingExceptionpublic 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–2016 The Apache Software Foundation. All rights reserved.