Class GoogleAdsException

  • All Implemented Interfaces:
    java.io.Serializable

    public class GoogleAdsException
    extends com.google.ads.googleads.lib.stubs.exceptions.BaseGoogleAdsException
    An exception thrown by a GoogleAds RPC.
    See Also:
    Serialized Form
    • Constructor Summary

      Constructors 
      Constructor Description
      GoogleAdsException​(com.google.api.gax.rpc.ApiException original, GoogleAdsFailure failure, io.grpc.Metadata metadata)  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      GoogleAdsFailure getGoogleAdsFailure()  
      • Methods inherited from class com.google.ads.googleads.lib.stubs.exceptions.BaseGoogleAdsException

        getRequestId
      • Methods inherited from class com.google.api.gax.rpc.ApiException

        getStatusCode, isRetryable
      • Methods inherited from class java.lang.Throwable

        addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
      • Methods inherited from class java.lang.Object

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

      • GoogleAdsException

        public GoogleAdsException​(com.google.api.gax.rpc.ApiException original,
                                  GoogleAdsFailure failure,
                                  io.grpc.Metadata metadata)
    • Method Detail

      • getGoogleAdsFailure

        public GoogleAdsFailure getGoogleAdsFailure()
        Overrides:
        getGoogleAdsFailure in class com.google.ads.googleads.lib.stubs.exceptions.BaseGoogleAdsException