public class AbstractLdapReferralException extends LdapOperationException
LdapOperationException which associates a resultCode namely the
ResultCodeEnum.REFERRAL resultCode with the exception.| Modifier and Type | Field and Description |
|---|---|
private Dn |
remainingDn
The remaining Dn
|
private Object |
resolvedObject
the resolvedObject
|
(package private) static long |
serialVersionUID
The serial version UUID
|
resolvedDn, resultCode| Constructor and Description |
|---|
AbstractLdapReferralException(String explanation)
Creates a new instance of AbstractLdapReferralException.
|
| Modifier and Type | Method and Description |
|---|---|
Context |
getReferralContext()
Not yet implemented
|
Context |
getReferralContext(Map<?,?> arg)
Not yet implemented
|
Dn |
getRemainingDn() |
Object |
getResolvedObject() |
ResultCodeEnum |
getResultCode()
Always returns
ResultCodeEnum.REFERRAL |
void |
retryReferral()
Retry.
|
void |
setRemainingDn(Dn remainingDn) |
void |
setResolvedObject(Object resolvedObject) |
getResolvedDn, setResolvedDnaddSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toStringstatic final long serialVersionUID
private Dn remainingDn
private Object resolvedObject
public AbstractLdapReferralException(String explanation)
explanation - The associated messagepublic ResultCodeEnum getResultCode()
ResultCodeEnum.REFERRALgetResultCode in class LdapOperationExceptionpublic Context getReferralContext() throws NamingException
NamingException - If the operation failedpublic Context getReferralContext(Map<?,?> arg) throws NamingException
arg - The argumentsNamingException - If the operation failedpublic 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–2019 The Apache Software Foundation. All rights reserved.