Class VertexAiApiException
java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
com.google.adk.sessions.SessionException
com.google.adk.sessions.VertexAiApiException
- All Implemented Interfaces:
Serializable
Signals a non-2xx, non-404 HTTP status from the Vertex AI Session API. Extends
SessionException so existing catch (SessionException) call sites still work.- See Also:
-
Method Summary
Modifier and TypeMethodDescriptionintReturns the HTTP status code returned by the API.Methods inherited from class Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
Method Details
-
statusCode
public int statusCode()Returns the HTTP status code returned by the API.
-