com.google.api.ads.adwords.lib.utils
Class LegacyErrorResponseHandler
java.lang.Object
com.google.api.ads.adwords.lib.utils.LegacyErrorResponseHandler
public class LegacyErrorResponseHandler
- extends Object
Handles legacy bangpipe errors.
- Author:
- Kevin Winter
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
LegacyErrorResponseHandler
public LegacyErrorResponseHandler()
handleResponse
public ReportDownloadResponse handleResponse(RawReportDownloadResponse response)
throws ReportException
- Processes a
RawReportDownloadResponse into a
ReportDownloadResponse, unwrapping pre-v201209 error messages if
possible.
- Parameters:
response - to process
- Returns:
- Processed response.
- Throws:
ReportException - if we have trouble reading the input stream.
Copyright © 2012. All Rights Reserved.