Class JsonWriteException
java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
dev.langchain4j.exception.LangChain4jException
dev.langchain4j.exception.JsonException
dev.langchain4j.exception.JsonWriteException
- All Implemented Interfaces:
Serializable
Thrown when an object cannot be written as JSON.
Unlike JsonReadException, the fault is on this side of the wire: the object graph has
no JSON representation. Retrying does not help.
- See Also:
-
Constructor Summary
ConstructorsConstructorDescriptionJsonWriteException(String message, Throwable cause) JsonWriteException(Throwable cause) -
Method Summary
Methods inherited from class Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
Constructor Details
-
JsonWriteException
-
JsonWriteException
-