Package com.unboundid.ldap.sdk
Class SearchResultReferenceEntrySourceException
java.lang.Object
java.lang.Throwable
java.lang.Exception
com.unboundid.util.LDAPSDKException
com.unboundid.ldap.sdk.EntrySourceException
com.unboundid.ldap.sdk.SearchResultReferenceEntrySourceException
- All Implemented Interfaces:
Serializable
@NotMutable
@ThreadSafety(level=COMPLETELY_THREADSAFE)
public final class SearchResultReferenceEntrySourceException
extends EntrySourceException
This class defines an exception that may be thrown if a search result
reference is received from the directory server while using the
EntrySource API (e.g., an LDAPEntrySource object).- See Also:
-
Constructor Summary
ConstructorsConstructorDescriptionSearchResultReferenceEntrySourceException(SearchResultReference searchReference) Creates a new search result reference entry source exception with the provided search result reference. -
Method Summary
Modifier and TypeMethodDescriptionRetrieves the search result reference for this entry source exception.voidtoString(StringBuilder buffer) Appends a string representation of this exception to the provided buffer.Methods inherited from class com.unboundid.ldap.sdk.EntrySourceException
mayContinueReadingMethods inherited from class com.unboundid.util.LDAPSDKException
getExceptionMessage, getExceptionMessage, toStringMethods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace
-
Constructor Details
-
SearchResultReferenceEntrySourceException
Creates a new search result reference entry source exception with the provided search result reference.- Parameters:
searchReference- The search result reference returned by the directory server. It must not benull.
-
-
Method Details
-
getSearchReference
Retrieves the search result reference for this entry source exception.- Returns:
- The search result reference for this entry source exception.
-
toString
Appends a string representation of this exception to the provided buffer.- Overrides:
toStringin classEntrySourceException- Parameters:
buffer- The buffer to which the string representation of this exception is to be appended.
-