public class BaseException extends AmazonServiceException
An error occurred while processing the request.
AmazonServiceException.ErrorType
Modifier and Type | Field and Description |
---|---|
private java.lang.String |
code |
private static long |
serialVersionUID |
Constructor and Description |
---|
BaseException(java.lang.String message)
Constructs a new BaseException with the specified error message.
|
Modifier and Type | Method and Description |
---|---|
java.lang.String |
getCode() |
void |
setCode(java.lang.String code) |
BaseException |
withCode(java.lang.String code) |
getErrorCode, getErrorMessage, getErrorType, getMessage, getRawResponse, getRawResponseContent, getRequestId, getServiceName, getStatusCode, setErrorCode, setErrorMessage, setErrorType, setRawResponse, setRawResponseContent, setRequestId, setServiceName, setStatusCode
isRetryable
private static final long serialVersionUID
private java.lang.String code
public BaseException(java.lang.String message)
message
- Describes the error encountered.public void setCode(java.lang.String code)
code
- public java.lang.String getCode()
public BaseException withCode(java.lang.String code)
code
-