com.google.api.ads.adwords.lib.utils
Class ReportDownloadResponseException

java.lang.Object
  extended by java.lang.Throwable
      extended by java.lang.Exception
          extended by com.google.api.ads.adwords.lib.utils.ReportDownloadResponseException
All Implemented Interfaces:
Serializable
Direct Known Subclasses:
DetailedReportDownloadResponseException

public class ReportDownloadResponseException
extends Exception

Exception thrown when we receive an error response from the server.

See Also:
Serialized Form

Constructor Summary
ReportDownloadResponseException(int httpStatus)
          Constructor.
ReportDownloadResponseException(int httpStatus, Throwable cause)
          Constructor.
 
Method Summary
 int getHttpStatus()
           
 
Methods inherited from class java.lang.Throwable
fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, 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

ReportDownloadResponseException

public ReportDownloadResponseException(int httpStatus)
Constructor.

Parameters:
httpStatus - the http status code

ReportDownloadResponseException

public ReportDownloadResponseException(int httpStatus,
                                       Throwable cause)
Constructor.

Parameters:
httpStatus - the http status code
cause - Underlying cause, if available.
Method Detail

getHttpStatus

public int getHttpStatus()


Copyright © 2012. All Rights Reserved.