public class DaxServiceException extends AmazonServiceException
AmazonServiceException.ErrorType| Modifier and Type | Field and Description |
|---|---|
static String |
NOT_IMPLEMENTED |
| Constructor and Description |
|---|
DaxServiceException(Exception t,
boolean isRetryable) |
DaxServiceException(String errMessage,
String errorCode) |
DaxServiceException(String errorMessage,
String requestId,
String errorCode,
int statusCode,
int[] codeSeq,
boolean isRetryable,
boolean waitForClusterRecoveryBeforeRetrying) |
| Modifier and Type | Method and Description |
|---|---|
int[] |
getCodeSeq()
Returns codes received from the DAX service that identify the error.
|
String |
getMessage() |
String |
getServiceErrorMessage() |
boolean |
isRetryable() |
static DaxServiceException |
pickException(com.amazon.cbor.CborInputStream input,
com.amazon.dax.client.ClientTube tube) |
void |
setRetryable(boolean retryable) |
boolean |
waitForClusterRecoveryBeforeRetry() |
getErrorCode, getErrorMessage, getErrorType, getHttpHeaders, getProxyHost, getRawResponse, getRawResponseContent, getRequestId, getServiceName, getStatusCode, setErrorCode, setErrorMessage, setErrorType, setHttpHeaders, setProxyHost, setRawResponse, setRawResponseContent, setRequestId, setServiceName, setStatusCodeaddSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toStringpublic static final String NOT_IMPLEMENTED
public DaxServiceException(String errorMessage, String requestId, String errorCode, int statusCode, int[] codeSeq, boolean isRetryable, boolean waitForClusterRecoveryBeforeRetrying)
public DaxServiceException(Exception t, boolean isRetryable)
public int[] getCodeSeq()
public String getServiceErrorMessage()
public static DaxServiceException pickException(com.amazon.cbor.CborInputStream input, com.amazon.dax.client.ClientTube tube) throws AmazonClientException, IOException
AmazonClientExceptionIOExceptionpublic String getMessage()
getMessage in class AmazonServiceExceptionpublic boolean isRetryable()
isRetryable in class AmazonClientExceptionpublic boolean waitForClusterRecoveryBeforeRetry()
public void setRetryable(boolean retryable)