Class GaosClientException
java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
com.google.genai.errors.ApiException
com.google.genai.errors.ClientException
com.google.genai.gaos.models.errors.GaosClientException
- All Implemented Interfaces:
Serializable
- Direct Known Subclasses:
AuthException,CancelInteractionByIdClientError,CreateInteractionClientError,DeleteInteractionClientError,GetInteractionByIdClientError
Carrier base bridging gaos 4xx errors onto the native ClientException hierarchy while
preserving the gaos body/rawResponse/headers surface.
- See Also:
-
Constructor Summary
ConstructorsConstructorDescriptionGaosClientException(String message, int code, byte[] body, HttpResponse<?> rawResponse, Throwable cause) -
Method Summary
Methods inherited from class com.google.genai.errors.ApiException
code, message, status, throwFromErrorNode, throwFromResponseMethods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
Constructor Details
-
GaosClientException
public GaosClientException(String message, int code, @Nullable byte[] body, HttpResponse<?> rawResponse, @Nullable Throwable cause)
-
-
Method Details
-
body
-
bodyAsString
-
rawResponse
-
headers
-