@NotExtensible @NotMutable @ThreadSafety(level=COMPLETELY_THREADSAFE) public class EntrySourceException extends LDAPSDKException
Constructor and Description |
---|
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.
|
Modifier and Type | Method and Description |
---|---|
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.
|
getExceptionMessage, getExceptionMessage, toString
public EntrySourceException(boolean mayContinueReading, @Nullable 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, @NotNull java.lang.String message, @Nullable 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
.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(@NotNull java.lang.StringBuilder buffer)
toString
in class LDAPSDKException
buffer
- The buffer to which the string representation of this
exception is to be appended.