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

java.lang.Object
  extended by com.sponsorpay.sdk.android.publisher.AbstractResponse
      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.AbstractResponse
AbstractResponse.RequestErrorType
 
Field Summary
 
Fields inherited from class com.sponsorpay.sdk.android.publisher.currency.CurrencyServerAbstractResponse
mListener
 
Fields inherited from class com.sponsorpay.sdk.android.publisher.AbstractResponse
ERROR_CODE_KEY, ERROR_MESSAGE_KEY, mErrorCode, mErrorMessage, mErrorType, 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
getParsingInstance, invokeOnErrorCallback, setResponseListener
 
Methods inherited from class com.sponsorpay.sdk.android.publisher.AbstractResponse
getErrorCode, getErrorMessage, getErrorType, hasErrorStatusCode, parseAndCallListener, parseErrorResponse, setResponseData, 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 AbstractResponse

invokeOnSuccessCallback

public void invokeOnSuccessCallback()
Empty implementation.

Specified by:
invokeOnSuccessCallback in class AbstractResponse