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

Custom exception class for wrapping DFP API SOAP exceptions. More...

Inheritance diagram for Google.Api.Ads.AdManager.Lib.AdManagerApiException:
Google.Api.Ads.AdManager.Lib.AdManagerException Google.Api.Ads.Common.Lib.AdsException

Public Member Functions

 AdManagerApiException ()
 Public constructor. More...
 
 AdManagerApiException (object apiException)
 Public constructor. More...
 
 AdManagerApiException (object apiException, string message)
 Public constructor. More...
 
 AdManagerApiException (object apiException, string message, Exception innerException)
 Public constructor. More...
 
override void GetObjectData (SerializationInfo info, StreamingContext context)
 This method is called by serialization frameworks while serializing an exception object. More...
 
- Public Member Functions inherited from Google.Api.Ads.AdManager.Lib.AdManagerException
 AdManagerException ()
 Public constructor. More...
 
 AdManagerException (string message)
 Public constructor. More...
 
 AdManagerException (string message, Exception innerException)
 Public constructor. More...
 

Protected Member Functions

 AdManagerApiException (SerializationInfo info, StreamingContext context)
 Protected constructor. Used by serialization frameworks while deserializing an exception object. More...
 
- Protected Member Functions inherited from Google.Api.Ads.AdManager.Lib.AdManagerException
 AdManagerException (SerializationInfo info, StreamingContext context)
 Protected constructor. Used by serialization frameworks while deserializing an exception object. More...
 
- Protected Member Functions inherited from Google.Api.Ads.Common.Lib.AdsException
 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...
 

Properties

object ApiException [get]
 Gets the ApiException object. More...
 
override string Message [get]
 Gets a message that describes the current exception. More...
 

Detailed Description

Custom exception class for wrapping DFP API SOAP exceptions.

Constructor & Destructor Documentation

Google.Api.Ads.AdManager.Lib.AdManagerApiException.AdManagerApiException ( )
inline

Public constructor.

Google.Api.Ads.AdManager.Lib.AdManagerApiException.AdManagerApiException ( object  apiException)
inline

Public constructor.

Parameters
apiExceptionThe underlying ApiException from the server.
Google.Api.Ads.AdManager.Lib.AdManagerApiException.AdManagerApiException ( object  apiException,
string  message 
)
inline

Public constructor.

Parameters
apiExceptionThe underlying ApiException from the server.
messageError message for this API exception.
Google.Api.Ads.AdManager.Lib.AdManagerApiException.AdManagerApiException ( object  apiException,
string  message,
Exception  innerException 
)
inline

Public constructor.

Parameters
apiExceptionThe underlying ApiException from the server.
messageError message for this API exception.
innerExceptionInner exception, if any.
Google.Api.Ads.AdManager.Lib.AdManagerApiException.AdManagerApiException ( 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

override void Google.Api.Ads.AdManager.Lib.AdManagerApiException.GetObjectData ( SerializationInfo  info,
StreamingContext  context 
)
inline

This method is called by serialization frameworks while serializing an exception object.

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

Property Documentation

object Google.Api.Ads.AdManager.Lib.AdManagerApiException.ApiException
get

Gets the ApiException object.

override string Google.Api.Ads.AdManager.Lib.AdManagerApiException.Message
get

Gets a message that describes the current exception.


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