Class UnresolvedModelServerException
java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
dev.langchain4j.exception.LangChain4jException
dev.langchain4j.exception.NonRetriableException
dev.langchain4j.exception.UnresolvedModelServerException
- All Implemented Interfaces:
Serializable
Thrown when the model provider's host cannot be resolved (DNS failure or
UnresolvedAddressException).
This is a NonRetriableException: the configured endpoint URL is
either incorrect or the host is unreachable from the current network. The
caller should verify the base URL in the client configuration before retrying.
- See Also:
-
Constructor Summary
ConstructorsConstructorDescriptionUnresolvedModelServerException(String message) UnresolvedModelServerException(String message, Throwable cause) -
Method Summary
Methods inherited from class Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
Constructor Details
-
UnresolvedModelServerException
-
UnresolvedModelServerException
-
UnresolvedModelServerException
-