Class InternalServerException
java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
dev.langchain4j.exception.LangChain4jException
dev.langchain4j.exception.RetriableException
dev.langchain4j.exception.InternalServerException
- All Implemented Interfaces:
Serializable
Thrown when the model provider returns a server-side error (HTTP 5xx).
This is a RetriableException: the failure is on the provider's side
and the request may succeed after a brief back-off. If the error persists
across multiple retries, it likely indicates an ongoing outage with the provider.
- See Also:
-
Constructor Summary
ConstructorsConstructorDescriptionInternalServerException(String message) InternalServerException(String message, Throwable cause) InternalServerException(Throwable cause) -
Method Summary
Methods inherited from class Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
Constructor Details
-
InternalServerException
-
InternalServerException
-
InternalServerException
-