Uses of Class
dev.langchain4j.exception.LangChain4jException
Packages that use LangChain4jException
Package
Description
-
Uses of LangChain4jException in dev.langchain4j.agentic.agent
Subclasses of LangChain4jException in dev.langchain4j.agentic.agent -
Uses of LangChain4jException in dev.langchain4j.agentic.planner
Subclasses of LangChain4jException in dev.langchain4j.agentic.planner -
Uses of LangChain4jException in dev.langchain4j.data.document
Subclasses of LangChain4jException in dev.langchain4j.data.document -
Uses of LangChain4jException in dev.langchain4j.exception
Subclasses of LangChain4jException in dev.langchain4j.exceptionModifier and TypeClassDescriptionclassThrown when a request is rejected because the supplied credentials are missing, invalid, or insufficient (HTTP 401 / 403).classException thrown when the LLM provider refuses to process a request due to content filtering or violation of usage policies.classRepresents an HTTP-level error returned by a model provider.classThrown when the model provider returns a server-side error (HTTP 5xx).classThrown 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).classThrown when the requested model does not exist or is not accessible by the caller (HTTP 404).classIndicates a permanent error for which retrying the same request will not help.classThrown when the model provider rejects a request because the caller has exceeded its allowed request or token quota within a time window (HTTP 429).classIndicates a transient error that may succeed if the request is retried.classThrown when a request to the model provider does not complete within the configured time limit (HTTP 408 or a client-side read/connect timeout).classIndicates that something is wrong with the tool arguments.classIndicates that something went wrong while executing the tool.classThrown when the model provider's host cannot be resolved (DNS failure orUnresolvedAddressException).classThrown when a requested feature is not supported by the current model provider or the specific model being used. -
Uses of LangChain4jException in dev.langchain4j.guardrail
Subclasses of LangChain4jException in dev.langchain4j.guardrailModifier and TypeClassDescriptionclassException thrown when an input or output guardrail validation fails.final classException thrown when an input guardrail validation fails.final classException thrown when an output guardrail validation fails. -
Uses of LangChain4jException in dev.langchain4j.mcp.client
Subclasses of LangChain4jException in dev.langchain4j.mcp.clientModifier and TypeClassDescriptionclassclassA business exception raised over the MCP protocol -
Uses of LangChain4jException in dev.langchain4j.mcp.registryclient
Subclasses of LangChain4jException in dev.langchain4j.mcp.registryclient -
Uses of LangChain4jException in dev.langchain4j.model
Subclasses of LangChain4jException in dev.langchain4j.modelModifier and TypeClassDescriptionclassAn exception thrown by a model that could be disabled by a user. -
Uses of LangChain4jException in dev.langchain4j.model.anthropic.internal.api
Subclasses of LangChain4jException in dev.langchain4j.model.anthropic.internal.api -
Uses of LangChain4jException in dev.langchain4j.model.ollama
Subclasses of LangChain4jException in dev.langchain4j.model.ollamaModifier and TypeClassDescriptionclassException thrown when Ollama returns an error during streaming. -
Uses of LangChain4jException in dev.langchain4j.service
Subclasses of LangChain4jException in dev.langchain4j.serviceModifier and TypeClassDescriptionclassclassThrown when content moderation fails, i.e., when content is flagged by the moderation model. -
Uses of LangChain4jException in dev.langchain4j.service.output
Subclasses of LangChain4jException in dev.langchain4j.service.output -
Uses of LangChain4jException in dev.langchain4j.store.embedding.azure.cosmos.nosql
Subclasses of LangChain4jException in dev.langchain4j.store.embedding.azure.cosmos.nosql -
Uses of LangChain4jException in dev.langchain4j.store.embedding.azure.search
Subclasses of LangChain4jException in dev.langchain4j.store.embedding.azure.search -
Uses of LangChain4jException in dev.langchain4j.store.embedding.elasticsearch
Subclasses of LangChain4jException in dev.langchain4j.store.embedding.elasticsearch -
Uses of LangChain4jException in dev.langchain4j.store.embedding.opensearch
Subclasses of LangChain4jException in dev.langchain4j.store.embedding.opensearch