Uses of Class
com.tnsai.exceptions.LLMException
Packages that use LLMException
-
Uses of LLMException in com.tnsai.exceptions
Subclasses of LLMException in com.tnsai.exceptionsModifier and TypeClassDescriptionclassException thrown when an LLM model lacks a required capability.classException thrown when tools are sent to an LLM model that does not support function/tool calling.Methods in com.tnsai.exceptions that return LLMExceptionModifier and TypeMethodDescriptionstatic LLMExceptionLLMException.authenticationFailed(String model, String reason) Factory method for authentication errors.static LLMExceptionLLMException.contentFiltered(String model, String reason) Factory method for content filter errors.static LLMExceptionLLMException.contextTooLong(String model, int maxTokens, int requestedTokens) Factory method for context length errors.static LLMExceptionLLMException.malformedToolCall(String model, String toolName, String details) Factory method for malformed tool call errors without a cause.static LLMExceptionLLMException.malformedToolCall(String model, String toolName, String details, Throwable cause) Factory method for malformed tool call errors.static LLMExceptionLLMException.modelNotFound(String model) Factory method for model not found errors.static LLMExceptionLLMException.modelOverloaded(String model) Factory method for model overloaded errors.static LLMExceptionLLMException.serverError(String model, Throwable cause) Factory method for server errors.