Class ReaderException

java.lang.Object
java.lang.Throwable
java.lang.Exception
io.agentscope.core.rag.exception.ReaderException
All Implemented Interfaces:
Serializable

public class ReaderException extends Exception
Exception thrown when document reading fails.

This exception is used to wrap errors from document reading operations, providing context about the reader and input that failed.

See Also:
  • Constructor Details

    • ReaderException

      public ReaderException(String message)
      Creates a new ReaderException with the given message.
      Parameters:
      message - the error message
    • ReaderException

      public ReaderException(String message, Throwable cause)
      Creates a new ReaderException with the given message and cause.
      Parameters:
      message - the error message
      cause - the cause of this exception