|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectjava.lang.Throwable
java.lang.Exception
com.unboundid.util.LDAPSDKException
com.unboundid.ldap.sdk.EntrySourceException
@NotExtensible @NotMutable @ThreadSafety(level=COMPLETELY_THREADSAFE) public class EntrySourceException
This class defines an exception that may be thrown if a problem occurs while trying to access an entry in an entry source (e.g., because the entry source is no longer available, because an entry could not be parsed, or because the next element returned was a search result reference rather than a search result entry).
Constructor Summary | |
---|---|
EntrySourceException(boolean mayContinueReading,
java.lang.String message,
java.lang.Throwable cause)
Creates a new entry source exception with the provided information. |
|
EntrySourceException(boolean mayContinueReading,
java.lang.Throwable cause)
Creates a new entry source exception with the provided information. |
Method Summary | |
---|---|
boolean |
mayContinueReading()
Indicates whether it is possible to continue attempting to iterate through subsequent entries in the entry source. |
void |
toString(java.lang.StringBuilder buffer)
Appends a string representation of this exception to the provided buffer. |
Methods inherited from class com.unboundid.util.LDAPSDKException |
---|
getExceptionMessage, toString |
Methods inherited from class java.lang.Throwable |
---|
fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public EntrySourceException(boolean mayContinueReading, java.lang.Throwable cause)
mayContinueReading
- Indicates whether it is possible to continue
attempting to iterate through subsequent
entries in the entry source.cause
- The underlying exception that triggered this
exception. It must not be null
.public EntrySourceException(boolean mayContinueReading, java.lang.String message, java.lang.Throwable cause)
mayContinueReading
- Indicates whether it is possible to continue
attempting to iterate through subsequent
entries in the entry source.message
- A message explaining the problem that occurred.
It must not be null
.cause
- The underlying exception that triggered this
exception. It must not be null
.Method Detail |
---|
public final boolean mayContinueReading()
true
if it is possible to continue attempting to read from
the entry source, or false
if it is not possible to
continue.public void toString(java.lang.StringBuilder buffer)
toString
in class LDAPSDKException
buffer
- The buffer to which the string representation of this
exception is to be appended.
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |