Class VertexAiApiException

All Implemented Interfaces:
Serializable

public final class VertexAiApiException extends SessionException
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 Details

    • statusCode

      public int statusCode()
      Returns the HTTP status code returned by the API.