Package com.tnsai.agents.validation
Class AgentValidationException
java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
com.tnsai.exceptions.TnsAIException
com.tnsai.agents.validation.AgentValidationException
- All Implemented Interfaces:
Serializable
Thrown by
AgentBuilder.build() when one or more
Severity.ERROR issues are detected during pre-flight validation
(issue #85).
Carries the full ValidationReport so consumers / tests can
inspect every detected issue, not just the first. TnsAIException.getMessage()
formats the report into a multi-line summary suitable for log
inspection or stack-trace surfaces.
- Since:
- 0.5.0 (issue #85)
- See Also:
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionFull report of all issues — errors, warnings, and infos.Methods inherited from class com.tnsai.exceptions.TnsAIException
getContext, getErrorCode, getMaxRetryAttempts, getMessage, getSuggestedRetryDelayMs, getThrownAt, isRetryable, wrapMethods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
Constructor Details
-
AgentValidationException
-
-
Method Details
-
getReport
Full report of all issues — errors, warnings, and infos. Useful for tests asserting exact validation behavior.
-