Package com.google.genai.errors
Class ClientException
java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
com.google.genai.errors.ApiException
com.google.genai.errors.ClientException
- All Implemented Interfaces:
Serializable
Client exception raised by the GenAI API.
- See Also:
-
Constructor Summary
ConstructorsConstructorDescriptionClientException
(int code, String status, String message) Creates a new ClientException with the specified message. -
Method Summary
Methods inherited from class com.google.genai.errors.ApiException
code, message, status, throwFromErrorNode, throwFromResponse, throwFromResponse
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
Constructor Details
-
ClientException
Creates a new ClientException with the specified message.
-