Ads API .NET library
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Events Macros
Google.Api.Ads.Common.Lib.AdsException Class Reference

Base class for all exceptions thrown by the library related to an Ads API call. More...

Inheritance diagram for Google.Api.Ads.Common.Lib.AdsException:
Google.Api.Ads.AdManager.Lib.AdManagerException Google.Api.Ads.AdWords.Lib.AdWordsException Google.Api.Ads.Common.Lib.AdsOAuthException Google.Api.Ads.Common.Util.CsvException Google.Api.Ads.Common.Util.Reports.AdsReportsException Google.Api.Ads.AdManager.Lib.AdManagerApiException Google.Api.Ads.AdWords.Lib.AdWordsApiException Google.Api.Ads.AdWords.Util.BatchJob.AdWordsBulkRequestException Google.Api.Ads.AdWords.Util.Reports.AdWordsReportsException

Protected Member Functions

 AdsException ()
 Protected constructor. More...
 
 AdsException (string message)
 Protected constructor. More...
 
 AdsException (string message, Exception innerException)
 Protected constructor. More...
 
 AdsException (SerializationInfo info, StreamingContext context)
 Protected constructor, used by serialization frameworks while deserializing an exception object. More...
 
GetValue< T > (SerializationInfo info, string fieldName)
 Gets a specified field from serialization stream. More...
 

Detailed Description

Base class for all exceptions thrown by the library related to an Ads API call.

Constructor & Destructor Documentation

Google.Api.Ads.Common.Lib.AdsException.AdsException ( )
inlineprotected

Protected constructor.

Google.Api.Ads.Common.Lib.AdsException.AdsException ( string  message)
inlineprotected

Protected constructor.

Parameters
messageError message for this API exception.
Google.Api.Ads.Common.Lib.AdsException.AdsException ( string  message,
Exception  innerException 
)
inlineprotected

Protected constructor.

Parameters
messageError message for this API exception.
innerExceptionInner exception, if any.
Google.Api.Ads.Common.Lib.AdsException.AdsException ( SerializationInfo  info,
StreamingContext  context 
)
inlineprotected

Protected constructor, used by serialization frameworks while deserializing an exception object.

Parameters
infoInfo about the serialization context.
contextA streaming context that represents the serialization stream.

Member Function Documentation

T Google.Api.Ads.Common.Lib.AdsException.GetValue< T > ( SerializationInfo  info,
string  fieldName 
)
inlineprotected

Gets a specified field from serialization stream.

Template Parameters
TThe type of field.
Parameters
infoThe serialization context.
fieldNameThe serialization field name.
Returns
The deserialized value of field.

The documentation for this class was generated from the following file: