com.google.api.ads.adwords.lib.client
Class AdWordsServiceClient
java.lang.Object
com.google.api.ads.common.lib.soap.SoapServiceClient<Object>
com.google.api.ads.common.lib.client.AdsServiceClient<AdWordsSession,AdWordsServiceDescriptor>
com.google.api.ads.adwords.lib.client.AdWordsServiceClient
- All Implemented Interfaces:
- InvocationHandler
public class AdWordsServiceClient
- extends AdsServiceClient<AdWordsSession,AdWordsServiceDescriptor>
Wrapper of underlying SOAP client which allows access for setting
headers retrieved from the session.
- Author:
- Adam Rogal, Joseph DiLallo
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
AdWordsServiceClient
@Inject
public AdWordsServiceClient(Object soapClient,
AdWordsServiceDescriptor adWordsServiceDescriptor,
AdWordsSession adWordsSession,
SoapClientHandlerInterface soapClientHandler,
HeaderHandler adWordsHeaderHandler,
AdsServiceLoggers adsServiceLoggers)
- Constructor.
- Parameters:
soapClient - the SOAP clientadWordsServiceDescriptor - the AdWords service descriptoradWordsSession - the AdWords sessionsoapClientHandler - the SOAP client handleradWordsHeaderHandler - the AdWords header handleradsServiceLoggers - the ads service loggers
handleException
protected Throwable handleException(Throwable e)
- Description copied from class:
SoapServiceClient
- Handles the exception.
Default behavior is to return the exception unchanged.
- Overrides:
handleException in class SoapServiceClient<Object>
- Parameters:
e - the exception to handle
- Returns:
- the exception which may have been modified (wrapped/unwrapped)
- See Also:
SoapServiceClient.handleException(java.lang.Throwable)
Copyright © 2012. All Rights Reserved.