Package io.agentscope.core.rag.exception
Class ReaderException
java.lang.Object
java.lang.Throwable
java.lang.Exception
io.agentscope.core.rag.exception.ReaderException
- All Implemented Interfaces:
Serializable
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 Summary
ConstructorsConstructorDescriptionReaderException(String message) Creates a new ReaderException with the given message.ReaderException(String message, Throwable cause) Creates a new ReaderException with the given message and cause. -
Method Summary
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
Constructor Details
-
ReaderException
Creates a new ReaderException with the given message.- Parameters:
message- the error message
-
ReaderException
Creates a new ReaderException with the given message and cause.- Parameters:
message- the error messagecause- the cause of this exception
-