public class CursorLdapReferralException extends CursorException
Modifier and Type | Field and Description |
---|---|
static CursorLdapReferralException |
INSTANCE
A static exception to be used by the monitor
|
Constructor and Description |
---|
CursorLdapReferralException(LdapReferralException ldapReferralException)
Creates a new instance of CursorClosedException.
|
CursorLdapReferralException(LdapReferralException ldapReferralException,
String message)
Creates a new instance of CursorClosedException.
|
CursorLdapReferralException(LdapReferralException ldapReferralException,
String message,
Throwable cause)
Creates a new instance of CursorClosedException.
|
Modifier and Type | Method and Description |
---|---|
String |
getReferralInfo() |
Dn |
getRemainingDn() |
Object |
getResolvedObject() |
ResultCodeEnum |
getResultCode()
Always returns
ResultCodeEnum.REFERRAL |
boolean |
skipReferral()
Move to the next referral
|
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
public static final CursorLdapReferralException INSTANCE
public CursorLdapReferralException(LdapReferralException ldapReferralException)
ldapReferralException
- The associated exceptionpublic CursorLdapReferralException(LdapReferralException ldapReferralException, String message)
ldapReferralException
- The associated exceptionmessage
- The associated messagepublic CursorLdapReferralException(LdapReferralException ldapReferralException, String message, Throwable cause)
ldapReferralException
- The associated exceptionmessage
- The associated messagecause
- The original causepublic ResultCodeEnum getResultCode()
ResultCodeEnum.REFERRAL
LdapReferralException.getResultCode()
public String getReferralInfo()
public boolean skipReferral()
public Dn getRemainingDn()
public Object getResolvedObject()
Copyright © 2003–2020 The Apache Software Foundation. All rights reserved.