Class EntrySourceException

    • Constructor Summary

      Constructors 
      Constructor 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.
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method 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.
      • Methods inherited from class java.lang.Throwable

        addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
    • Constructor Detail

      • EntrySourceException

        public EntrySourceException​(boolean mayContinueReading,
                                    @Nullable
                                    java.lang.Throwable cause)
        Creates a new entry source exception with the provided information.
        Parameters:
        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.
      • EntrySourceException

        public EntrySourceException​(boolean mayContinueReading,
                                    @NotNull
                                    java.lang.String message,
                                    @Nullable
                                    java.lang.Throwable cause)
        Creates a new entry source exception with the provided information.
        Parameters:
        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

      • mayContinueReading

        public final boolean mayContinueReading()
        Indicates whether it is possible to continue attempting to iterate through subsequent entries in the entry source.
        Returns:
        true if it is possible to continue attempting to read from the entry source, or false if it is not possible to continue.
      • toString

        public void toString​(@NotNull
                             java.lang.StringBuilder buffer)
        Appends a string representation of this exception to the provided buffer.
        Overrides:
        toString in class LDAPSDKException
        Parameters:
        buffer - The buffer to which the string representation of this exception is to be appended.