com.sponsorpay.sdk.android.publisher.currency
Class RequestErrorResponse

java.lang.Object
  extended by com.sponsorpay.sdk.android.publisher.currency.CurrencyServerAbstractResponse
      extended by com.sponsorpay.sdk.android.publisher.currency.RequestErrorResponse

public class RequestErrorResponse
extends CurrencyServerAbstractResponse

Response generated locally when a request to the Virtual Currency Server couldn't be sent due to a network connectivity issue.


Nested Class Summary
 
Nested classes/interfaces inherited from class com.sponsorpay.sdk.android.publisher.currency.CurrencyServerAbstractResponse
CurrencyServerAbstractResponse.RequestErrorType
 
Field Summary
 
Fields inherited from class com.sponsorpay.sdk.android.publisher.currency.CurrencyServerAbstractResponse
mErrorCode, mErrorMessage, mErrorType, mListener, mResponseBody, mResponseSignature, mResponseStatusCode
 
Constructor Summary
RequestErrorResponse()
          Initializes the response as containing an error of the RequestErrorType#ERROR_NO_INTERNET_CONNECTION type.
 
Method Summary
 void invokeOnSuccessCallback()
          Empty implementation.
 void parseSuccessfulResponse()
          Empty implementation.
 
Methods inherited from class com.sponsorpay.sdk.android.publisher.currency.CurrencyServerAbstractResponse
getErrorCode, getErrorMessage, getErrorType, getParsingInstance, hasErrorStatusCode, invokeOnErrorCallback, parseAndCallListener, parseErrorResponse, setResponseData, setResponseListener, verifySignature
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

RequestErrorResponse

public RequestErrorResponse()
Initializes the response as containing an error of the RequestErrorType#ERROR_NO_INTERNET_CONNECTION type.

Method Detail

parseSuccessfulResponse

public void parseSuccessfulResponse()
Empty implementation.

Specified by:
parseSuccessfulResponse in class CurrencyServerAbstractResponse

invokeOnSuccessCallback

public void invokeOnSuccessCallback()
Empty implementation.

Specified by:
invokeOnSuccessCallback in class CurrencyServerAbstractResponse