Package org.egothor.methodatlas.ai
Class AiSuggestionException
java.lang.Object
java.lang.Throwable
java.lang.Exception
org.egothor.methodatlas.ai.AiSuggestionException
- All Implemented Interfaces:
Serializable
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 Summary
ConstructorsConstructorDescriptionAiSuggestionException(String message) Creates a new exception with the specified detail message.AiSuggestionException(String message, Throwable cause) Creates a new exception with the specified detail message and cause. -
Method Summary
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
Constructor Details
-
AiSuggestionException
Creates a new exception with the specified detail message.- Parameters:
message- detail message describing the failure
-
AiSuggestionException
Creates a new exception with the specified detail message and cause.- Parameters:
message- detail message describing the failurecause- underlying cause of the failure
-