Class GoogleAdsExceptionTransformation

  • All Implemented Interfaces:
    com.google.ads.googleads.lib.stubs.callables.ExceptionTransformation

    @AutoService(com.google.ads.googleads.lib.stubs.callables.ExceptionTransformation.class)
    public class GoogleAdsExceptionTransformation
    extends java.lang.Object
    implements com.google.ads.googleads.lib.stubs.callables.ExceptionTransformation
    Transforms an ApiException into a GoogleAdsException whenever a binary GoogleAdsFailure message was sent in the RPC trailers.
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      java.lang.Throwable transform​(java.lang.Throwable input)  
      • Methods inherited from class java.lang.Object

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

      • GoogleAdsExceptionTransformation

        public GoogleAdsExceptionTransformation()
    • Method Detail

      • transform

        public java.lang.Throwable transform​(java.lang.Throwable input)
        Specified by:
        transform in interface com.google.ads.googleads.lib.stubs.callables.ExceptionTransformation