|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectjava.lang.Throwable
java.lang.Exception
org.apache.directory.api.ldap.model.cursor.CursorException
org.apache.directory.api.ldap.model.cursor.CursorLdapReferralException
public class CursorLdapReferralException
A specific form of CursorException used when a referral is met
| Field Summary | |
|---|---|
static CursorLdapReferralException |
INSTANCE
A static exception to be used by the monitor |
| Constructor Summary | |
|---|---|
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. |
|
| Method Summary | |
|---|---|
String |
getReferralInfo()
|
Dn |
getRemainingDn()
|
Object |
getResolvedObject()
|
ResultCodeEnum |
getResultCode()
Always returns ResultCodeEnum.REFERRAL |
boolean |
skipReferral()
Move to the next referral |
| Methods inherited from class java.lang.Throwable |
|---|
fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Field Detail |
|---|
public static final CursorLdapReferralException INSTANCE
| Constructor Detail |
|---|
public CursorLdapReferralException(LdapReferralException ldapReferralException)
public CursorLdapReferralException(LdapReferralException ldapReferralException,
String message)
message - The associated message
public CursorLdapReferralException(LdapReferralException ldapReferralException,
String message,
Throwable cause)
message - The associated messagecause - The original cause| Method Detail |
|---|
public ResultCodeEnum getResultCode()
ResultCodeEnum.REFERRAL
LdapException#getResultCode()public String getReferralInfo()
public boolean skipReferral()
public Dn getRemainingDn()
public Object getResolvedObject()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||