Class ServerException

All Implemented Interfaces:
Serializable
Direct Known Subclasses:
GaosServerException

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

    • ServerException

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

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