Package com.axelor.ai

Class AiException

All Implemented Interfaces:
Serializable

public class AiException extends RuntimeException
Thrown by AiService operations when an AI call fails.
See Also:
  • Constructor Details

    • AiException

      public AiException(String message)
    • AiException

      public AiException(String message, Throwable cause)
    • AiException

      public AiException(String message, String rawOutput)
  • Method Details

    • getRawOutput

      public String getRawOutput()
      The raw LLM output that failed to parse. Null unless structured generation failed.