public class TLfnServiceException
extends java.lang.Exception
Constructor and Description |
---|
TLfnServiceException(java.lang.String aMessage,
int aResponseCode,
java.lang.String aResponseReason,
java.lang.Throwable aCause)
Creates a service exception with a given message, code and cause.
|
Modifier and Type | Method and Description |
---|---|
int |
getResponseCode()
Gets the HTTP response code.
|
java.lang.String |
getResponseReason()
Gets the HTTP response reason.
|
public TLfnServiceException(java.lang.String aMessage, int aResponseCode, java.lang.String aResponseReason, java.lang.Throwable aCause)
aMessage
- the message describing the service exceptionaResponseCode
- the exception code (defined as constants in this class)aResponseReason
- the reason for the exceptionaCause
- the Throwable that caused the exception.public java.lang.String getResponseReason()
public int getResponseCode()