public class AbstractLdapReferralException extends LdapOperationException
LdapOperationException
which associates a resultCode namely the
ResultCodeEnum.REFERRAL
resultCode with the exception.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, 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
public 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–2018 The Apache Software Foundation. All rights reserved.