Class ClientException

  • All Implemented Interfaces:
    java.io.Serializable

    
    public final class ClientException
    extends ApiException
                        

    Client exception raised by the GenAI API.

    • Nested Class Summary

      Nested Classes 
      Modifier and Type Class Description
    • Constructor Summary

      Constructors 
      Constructor Description
      ClientException(int code, String status, String message) Creates a new ClientException with the specified message.
    • Enum Constant Summary

      Enum Constants 
      Enum Constant Description
    • Method Summary

      Modifier and Type Method Description
      • Methods inherited from class java.lang.Throwable

        addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, setStackTrace, toString
      • Methods inherited from class com.google.genai.errors.ApiException

        code, message, status, throwFromErrorNode, throwFromResponse, throwFromResponse
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • ClientException

        ClientException(int code, String status, String message)
        Creates a new ClientException with the specified message.
    • Method Detail