Uses of Class
com.tnsai.exceptions.TnsAIException
Packages that use TnsAIException
Package
Description
Agent group membership management.
Agent lifecycle management with annotation-based hooks, timeout enforcement, and idle monitoring.
Agent messaging infrastructure for inter-agent communication.
Custom exceptions for the TnsAI framework.
Invariant checking framework for runtime state verification.
Knowledge base abstraction for Retrieval-Augmented Generation (RAG).
Output serialization framework for converting action results to structured formats.
LLM output parsing with retry and validation support.
Prompt building, templating, and management framework for LLM interactions.
SPI handles for agent protocol management.
Protocol callback handlers for annotation-driven message dispatch.
Role definitions and capabilities for agents in the TnsAI framework.
Centralized role registration and lookup service.
Security SPI contracts and human-in-the-loop approval for TnsAI agents.
State persistence and checkpointing for agent recovery.
Service Provider Interface for pluggable tool implementations.
-
Uses of TnsAIException in com.tnsai.agents.groups
Subclasses of TnsAIException in com.tnsai.agents.groupsModifier and TypeClassDescriptionclassException thrown when a group policy is violated. -
Uses of TnsAIException in com.tnsai.agents.lifecycle
Subclasses of TnsAIException in com.tnsai.agents.lifecycleModifier and TypeClassDescriptionstatic classException thrown when a lifecycle method fails.static classException thrown when a lifecycle method times out. -
Uses of TnsAIException in com.tnsai.agents.validation
Subclasses of TnsAIException in com.tnsai.agents.validationModifier and TypeClassDescriptionclassThrown byAgentBuilder.build()when one or moreSeverity.ERRORissues are detected during pre-flight validation (issue #85). -
Uses of TnsAIException in com.tnsai.communication
Subclasses of TnsAIException in com.tnsai.communicationModifier and TypeClassDescriptionclassException thrown when a communication policy is violated. -
Uses of TnsAIException in com.tnsai.exceptions
Subclasses of TnsAIException in com.tnsai.exceptionsModifier and TypeClassDescriptionclassException thrown when action execution fails.classException thrown when an action requires human approval before execution.classThrown when a configuredWHEN_CONFIGUREDsource is not ready before a run: its file is missing, it holds no unit, or it cannot be read.classException thrown when an LLM model lacks a required capability.classException for LLM-related errors (model errors, invalid responses, etc.).classException for network-related errors (connection failures, DNS issues, etc.).classException for rate limit errors (HTTP 429, quota exceeded).classSignals that a task has been completed and the agent loop should terminate.classException for operation timeout errors.classException thrown when tools are sent to an LLM model that does not support function/tool calling.classThrown when an action violates pre/post conditions or parameter contracts.Methods in com.tnsai.exceptions that return TnsAIExceptionModifier and TypeMethodDescriptionstatic TnsAIExceptionWrap an arbitrary throwable in aTnsAIExceptionso it carries a framework error code, retryable flag, and (via subclassing) flows uniformly throughErrorEmitter. -
Uses of TnsAIException in com.tnsai.idempotency
Subclasses of TnsAIException in com.tnsai.idempotencyModifier and TypeClassDescriptionclassThrown when an idempotency-protected call produces an outcome the framework cannot resolve safely (issue #91): a hard cache hit underRetryBehavior.FAIL_FAST, a hash collision against a different input, or the configuredIdempotencyStorebeing unreachable mid-call. -
Uses of TnsAIException in com.tnsai.invariants
Subclasses of TnsAIException in com.tnsai.invariantsModifier and TypeClassDescriptionclassException thrown when an invariant condition is violated. -
Uses of TnsAIException in com.tnsai.knowledge
Subclasses of TnsAIException in com.tnsai.knowledgeModifier and TypeClassDescriptionclassException thrown by knowledge base operations. -
Uses of TnsAIException in com.tnsai.output
Subclasses of TnsAIException in com.tnsai.outputModifier and TypeClassDescriptionclassException thrown when output serialization or deserialization fails. -
Uses of TnsAIException in com.tnsai.parser
Subclasses of TnsAIException in com.tnsai.parserModifier and TypeClassDescriptionclassException thrown when LLM output cannot be parsed into the expected type. -
Uses of TnsAIException in com.tnsai.prompt
Subclasses of TnsAIException in com.tnsai.promptModifier and TypeClassDescriptionclassException thrown when prompt operations fail. -
Uses of TnsAIException in com.tnsai.protocols
Methods in com.tnsai.protocols that throw TnsAIExceptionModifier and TypeMethodDescriptionvoidProtocolManagerHandle.start()Starts all configured protocol handlers. -
Uses of TnsAIException in com.tnsai.protocols.callbacks
Subclasses of TnsAIException in com.tnsai.protocols.callbacksModifier and TypeClassDescriptionstatic classException thrown when a callback invocation fails in FAIL_FAST mode. -
Uses of TnsAIException in com.tnsai.roles
Subclasses of TnsAIException in com.tnsai.rolesModifier and TypeClassDescriptionclassException thrown when role initialization fails. -
Uses of TnsAIException in com.tnsai.roles.registry
Subclasses of TnsAIException in com.tnsai.roles.registryModifier and TypeClassDescriptionclassException thrown when a role assignment fails due to exclusivity constraints. -
Uses of TnsAIException in com.tnsai.security
Subclasses of TnsAIException in com.tnsai.securityModifier and TypeClassDescriptionclassBase exception for security-related violations. -
Uses of TnsAIException in com.tnsai.state
Subclasses of TnsAIException in com.tnsai.stateModifier and TypeClassDescriptionclassException thrown when state operations fail. -
Uses of TnsAIException in com.tnsai.tools.spi
Subclasses of TnsAIException in com.tnsai.tools.spiModifier and TypeClassDescriptionclassTool authentication failed — typically HTTP 401 from upstream, missing or invalid API key, expired bearer token.classTool credential is valid but lacks permission for the requested operation — typically HTTP 403 from upstream, RBAC denial, scope mismatch on an OAuth token.classTool itself is misconfigured — missing required environment variable, invalid endpoint URL, malformed credential file.classTool failed due to a conflict against current upstream state — typically HTTP 409, optimistic-concurrency version mismatch, stale-resource update, unique-constraint violation.classException thrown when a tool execution fails.classTool failed because the upstream external service returned a server-side error — typically HTTP 5xx, a connection reset, or any provider-side malfunction the tool itself did not cause.classTool input was invalid — required field missing, type mismatch, value outside allowed range, schema violation.classRemote resource the tool was asked to operate on does not exist — typically HTTP 404 from upstream, file-not-found, missing record.classTool was rate-limited by upstream — typically HTTP 429.classTool produced a result that the framework could not marshal back to the caller — JSON encoding failed, return-type adapter missing, recursive object graph.classTool exceeded its execution deadline.classCatchall for tool failures that don't fit any other typed subclass — a pureRuntimeExceptionthrown from inside the tool, anAssertionError, or anything else escaping the well-defined failure taxonomy.classTool execution was canceled by the user — confirmation prompt declined, deadline elapsed before the user responded, or an explicit abort signal.