Class AuthException
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
com.google.genai.gaos.models.errors.AuthException
- All Implemented Interfaces:
Serializable
An exception associated with Authentication or Authorization.
- See Also:
-
Constructor Summary
ConstructorsConstructorDescriptionAuthException(String message, int code, byte[] body, HttpResponse<InputStream> rawResponse) -
Method Summary
Modifier and TypeMethodDescriptionDeprecated.Methods inherited from class com.google.genai.gaos.models.errors.GaosClientException
body, bodyAsString, headersMethods 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
-
AuthException
-
-
Method Details
-
statusCode
Deprecated.UseApiException.code()instead.Returns the HTTP status code of the response. -
rawResponse
- Overrides:
rawResponsein classGaosClientException
-
ApiException.code()instead.