Package org.forgerock.opendj.ldap
Class SearchResultReferenceIOException
- java.lang.Object
-
- java.lang.Throwable
-
- java.lang.Exception
-
- java.io.IOException
-
- org.forgerock.opendj.ldap.SearchResultReferenceIOException
-
- All Implemented Interfaces:
Serializable
public final class SearchResultReferenceIOException extends IOException
Thrown when an iteration over a set of search results using aConnectionEntryReader
encounters aSearchResultReference
.- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description SearchResultReferenceIOException(SearchResultReference reference)
Creates a new referral result IO exception with the providedSearchResultReference
.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description SearchResultReference
getReference()
Returns theSearchResultReference
which was encountered while processing the search results.-
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
-
-
-
Constructor Detail
-
SearchResultReferenceIOException
public SearchResultReferenceIOException(SearchResultReference reference)
Creates a new referral result IO exception with the providedSearchResultReference
.- Parameters:
reference
- TheSearchResultReference
which may be later retrieved by thegetReference()
method.- Throws:
NullPointerException
- Ifreference
wasnull
.
-
-
Method Detail
-
getReference
public SearchResultReference getReference()
Returns theSearchResultReference
which was encountered while processing the search results.- Returns:
- The
SearchResultReference
which was encountered while processing the search results.
-
-