com.google.api.ads.common.lib.soap
Class SoapCallReturn

java.lang.Object
  extended by com.google.api.ads.common.lib.soap.SoapCallReturn

public class SoapCallReturn
extends Object

Used to package a SOAP call's return. Contains the return value, the request and response info, and the originating SoapCall.

Author:
Adam Rogal

Nested Class Summary
static class SoapCallReturn.Builder
          Builder for SoapCallReturn objects.
 
Constructor Summary
SoapCallReturn()
          Constructor.
 
Method Summary
 Throwable getException()
          Gets the exception from the SOAP call that was made if one occurred.
 RequestInfo getRequestInfo()
          Gets the request info from the SOAP call that was made.
 ResponseInfo getResponseInfo()
          Gets the response info from the SOAP call that was made.
 Object getReturnValue()
          Gets the return value from the SOAP call that was made.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SoapCallReturn

public SoapCallReturn()
Constructor.

Method Detail

getReturnValue

public Object getReturnValue()
Gets the return value from the SOAP call that was made.

Returns:
the return value from the SOAP call that was made or null if there was an exception

getRequestInfo

public RequestInfo getRequestInfo()
Gets the request info from the SOAP call that was made.


getResponseInfo

public ResponseInfo getResponseInfo()
Gets the response info from the SOAP call that was made.


getException

public Throwable getException()
Gets the exception from the SOAP call that was made if one occurred.

Returns:
the exception from the SOAP call that was made or null if there was no exception


Copyright © 2012. All Rights Reserved.