Class AiSuggestionException

java.lang.Object
java.lang.Throwable
java.lang.Exception
org.egothor.methodatlas.ai.AiSuggestionException
All Implemented Interfaces:
Serializable

public final class AiSuggestionException extends Exception
Checked exception indicating failure during AI-based suggestion generation or related AI subsystem operations.

This exception is used throughout the AI integration layer to report provider initialization failures, taxonomy loading errors, connectivity problems, malformed provider responses, and other conditions that prevent successful generation of AI-based classification results.

The exception is declared as a checked exception because such failures are part of the normal operational contract of the AI subsystem and callers are expected to either handle them explicitly or convert them into higher-level application failures when AI support is mandatory.

See Also:
  • Constructor Details

    • AiSuggestionException

      public AiSuggestionException(String message)
      Creates a new exception with the specified detail message.
      Parameters:
      message - detail message describing the failure
    • AiSuggestionException

      public AiSuggestionException(String message, Throwable cause)
      Creates a new exception with the specified detail message and cause.
      Parameters:
      message - detail message describing the failure
      cause - underlying cause of the failure