Package com.axelor.ai
Class AiException
java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
com.axelor.ai.AiException
- All Implemented Interfaces:
Serializable
Thrown by
AiService operations when an AI call fails.- See Also:
-
Constructor Summary
ConstructorsConstructorDescriptionAiException(String message) AiException(String message, String rawOutput) AiException(String message, Throwable 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
-
AiException
-
AiException
-
AiException
-
-
Method Details
-
getRawOutput
The raw LLM output that failed to parse. Null unless structured generation failed.
-