Package com.google.genai.errors
Class ServerException
java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
com.google.genai.errors.ApiException
com.google.genai.errors.ServerException
- All Implemented Interfaces:
Serializable
Server exception raised by the GenAI API.
- See Also:
-
Constructor Summary
ConstructorsConstructorDescriptionServerException
(int code, String status, String message) Creates a new ServerException 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
-
ServerException
Creates a new ServerException with the specified message.
-