public class TxException extends Exception
| Modifier and Type | Field and Description |
|---|---|
int |
HttpStatusCode
The HTTP Status Code of the response.
|
Exception |
InnerException
If this exception was caused by another exception, the root cause will be here.
|
String |
RequestBody
The JSON request body, will only have a value if
TxClient.ShowFullRequestBodyInExceptions is true |
okhttp3.Response |
RestResponse
The raw response from the API
|
String |
TransactionId
The Id of the transaction, use this when reporting errors to Support
|
String |
TxErrorCode
The Info.Code of the response.
|
| Constructor and Description |
|---|
TxException(String requestBody,
okhttp3.Response response,
ApiResponseInfo errorInfo) |
TxException(String requestBody,
okhttp3.Response response,
ApiResponseInfoLite errorInfo,
String transactionId) |
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toStringpublic okhttp3.Response RestResponse
public int HttpStatusCode
public String TxErrorCode
public String TransactionId
public String RequestBody
TxClient.ShowFullRequestBodyInExceptions is truepublic Exception InnerException
public TxException(String requestBody, okhttp3.Response response, ApiResponseInfoLite errorInfo, String transactionId)
public TxException(String requestBody, okhttp3.Response response, ApiResponseInfo errorInfo)
Copyright © 2024. All rights reserved.