Class ClientException

All Implemented Interfaces:
Serializable
Direct Known Subclasses:
GaosClientException

public class ClientException extends ApiException
Client exception raised by the GenAI API.
See Also:
  • Constructor Details

    • ClientException

      public ClientException(int code, String status, String message)
      Creates a new ClientException with the specified message.
    • ClientException

      public ClientException(int code, String status, String message, Throwable cause)
      Creates a new ClientException carrying the originating cause.