tangocard.sdk.service
Class TangoCardServiceException
java.lang.Object
java.lang.Throwable
java.lang.Exception
tangocard.sdk.service.TangoCardServiceException
- All Implemented Interfaces:
- java.io.Serializable
public class TangoCardServiceException
- extends java.lang.Exception
The Class TangoCardServiceException.
- See Also:
- Serialized Form
Methods inherited from class java.lang.Throwable |
fillInStackTrace, getCause, getLocalizedMessage, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
TangoCardServiceException
public TangoCardServiceException(ServiceResponseEnum responseType,
FailureResponse responseJson,
java.lang.String message)
- Instantiates a new service exception.
- Parameters:
responseType
- the response typeresponseJson
- the response JSONmessage
- the message
getResponseType
public java.lang.String getResponseType()
- Gets the response type.
- Returns:
- the response type
getResponse
public java.lang.Object getResponse()
- Gets the response.
- Returns:
- the response
getMessage
public java.lang.String getMessage()
- Overrides:
getMessage
in class java.lang.Throwable