tangocard.sdk.response.failure
Class InvalidCredentialsResponse

java.lang.Object
  extended by tangocard.sdk.response.failure.FailureResponse
      extended by tangocard.sdk.response.failure.InvalidCredentialsResponse
All Implemented Interfaces:
BaseResponse

public class InvalidCredentialsResponse
extends FailureResponse

The Class InvalidCredentialsResponse.


Constructor Summary
InvalidCredentialsResponse(org.json.JSONObject responseJson)
          Instantiates a new invalid credentials response.
 
Method Summary
 java.lang.String getMessage()
          Gets the message.
 boolean parseResponseJSON(org.json.JSONObject responseJson)
          Parses the response JSON.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

InvalidCredentialsResponse

public InvalidCredentialsResponse(org.json.JSONObject responseJson)
                           throws TangoCardSdkException
Instantiates a new invalid credentials response.

Parameters:
responseJson - the response JSON
Throws:
TangoCardSdkException
Method Detail

getMessage

public java.lang.String getMessage()
Gets the message.

Specified by:
getMessage in class FailureResponse
Returns:
the message

parseResponseJSON

public boolean parseResponseJSON(org.json.JSONObject responseJson)
                          throws TangoCardSdkException
Description copied from interface: BaseResponse
Parses the response JSON.

Parameters:
responseJson - the response JSON
Returns:
true, if successful
Throws:
TangoCardSdkException