Package com.tnsai.rag
Class KnowledgeUnitFormatException
java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
java.lang.IllegalArgumentException
com.tnsai.rag.KnowledgeUnitFormatException
- All Implemented Interfaces:
Serializable
Signals that a knowledge-unit policy has no semantics for a document format.
- Since:
- 0.15.0
- See Also:
-
Constructor Summary
ConstructorsConstructorDescriptionKnowledgeUnitFormatException(KnowledgeUnit unit, DocumentFormat format) Creates a compatibility failure naming both sides of the invalid pair. -
Method Summary
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
Constructor Details
-
KnowledgeUnitFormatException
Creates a compatibility failure naming both sides of the invalid pair.- Parameters:
unit- requested ingest unitformat- declared or detected document format
-