Uses of Package
dev.langchain4j.exception
Packages that use dev.langchain4j.exception
Package
Description
-
Classes in dev.langchain4j.exception used by dev.langchain4j.agentic.a2aClassDescriptionThe root unchecked exception for all LangChain4j-specific errors.
-
Classes in dev.langchain4j.exception used by dev.langchain4j.agentic.agentClassDescriptionThe root unchecked exception for all LangChain4j-specific errors.
-
Classes in dev.langchain4j.exception used by dev.langchain4j.agentic.plannerClassDescriptionThe root unchecked exception for all LangChain4j-specific errors.
-
Classes in dev.langchain4j.exception used by dev.langchain4j.agentic.scopeClassDescriptionThe root unchecked exception for all LangChain4j-specific errors.
-
Classes in dev.langchain4j.exception used by dev.langchain4j.data.documentClassDescriptionThe root unchecked exception for all LangChain4j-specific errors.
-
Classes in dev.langchain4j.exception used by dev.langchain4j.exceptionClassDescriptionThrown when the model provider rejects a request because the request itself is malformed or violates the provider's constraints (HTTP 4xx, excluding 401, 403, 404, 408, and 429).Thrown when LangChain4j cannot read or write JSON.Thrown when JSON cannot be read: it is malformed, or it does not describe the expected type.The root unchecked exception for all LangChain4j-specific errors.Indicates a permanent error for which retrying the same request will not help.Indicates a transient error that may succeed if the request is retried.Marks an exception whose content is meant to be seen by the LLM.A ready-made
ToolErrorVisibleToLlmexception: throw it from a@Toolmethod when you want to tell the LLM what went wrong without declaring an exception class of your own.Indicates that something went wrong while executing the tool.Thrown when a requested feature is not supported by the current model provider or the specific model being used. -
Classes in dev.langchain4j.exception used by dev.langchain4j.guardrailClassDescriptionThe root unchecked exception for all LangChain4j-specific errors.
-
Classes in dev.langchain4j.exception used by dev.langchain4j.http.client
-
Classes in dev.langchain4j.exception used by dev.langchain4j.http.client.apache
-
Classes in dev.langchain4j.exception used by dev.langchain4j.http.client.jdk
-
Classes in dev.langchain4j.exception used by dev.langchain4j.http.client.log
-
Classes in dev.langchain4j.exception used by dev.langchain4j.http.client.okhttp
-
Classes in dev.langchain4j.exception used by dev.langchain4j.mcp.clientClassDescriptionThe root unchecked exception for all LangChain4j-specific errors.A
ToolExecutionExceptionwhose message is written for the LLM, so it implementsToolErrorVisibleToLlm: error handlers that honor that interface send the message to the LLM instead of failing the AI Service invocation.Marks an exception whose content is meant to be seen by the LLM.Indicates that something went wrong while executing the tool. -
Classes in dev.langchain4j.exception used by dev.langchain4j.mcp.registryclientClassDescriptionThe root unchecked exception for all LangChain4j-specific errors.
-
Classes in dev.langchain4j.exception used by dev.langchain4j.modelClassDescriptionThe root unchecked exception for all LangChain4j-specific errors.
-
Classes in dev.langchain4j.exception used by dev.langchain4j.model.anthropic.internal.apiClassDescriptionThe root unchecked exception for all LangChain4j-specific errors.
-
Classes in dev.langchain4j.exception used by dev.langchain4j.model.ollamaClassDescriptionThe root unchecked exception for all LangChain4j-specific errors.
-
Classes in dev.langchain4j.exception used by dev.langchain4j.serviceClassDescriptionThe root unchecked exception for all LangChain4j-specific errors.
-
Classes in dev.langchain4j.exception used by dev.langchain4j.service.outputClassDescriptionThe root unchecked exception for all LangChain4j-specific errors.
-
Classes in dev.langchain4j.exception used by dev.langchain4j.store.embedding.azure.cosmos.nosqlClassDescriptionThe root unchecked exception for all LangChain4j-specific errors.
-
Classes in dev.langchain4j.exception used by dev.langchain4j.store.embedding.azure.searchClassDescriptionThe root unchecked exception for all LangChain4j-specific errors.
-
Classes in dev.langchain4j.exception used by dev.langchain4j.store.embedding.elasticsearchClassDescriptionThe root unchecked exception for all LangChain4j-specific errors.
-
Classes in dev.langchain4j.exception used by dev.langchain4j.store.embedding.opensearchClassDescriptionThe root unchecked exception for all LangChain4j-specific errors.