Class AgentValidationException

All Implemented Interfaces:
Serializable

public class AgentValidationException extends TnsAIException
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 Details

    • AgentValidationException

      public AgentValidationException(ValidationReport report)
  • Method Details

    • getReport

      public ValidationReport getReport()
      Full report of all issues — errors, warnings, and infos. Useful for tests asserting exact validation behavior.