@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class KmsException extends AmazonECRException
The operation failed due to a KMS exception.
AmazonServiceException.ErrorType | Constructor and Description |
|---|
KmsException (String message)
Constructs a new KmsException with the specified error message.
|
| Modifier and Type | Method and Description |
|---|---|
String |
getKmsError ()
The error code returned by KMS.
|
void |
setKmsError (String kmsError)
The error code returned by KMS.
|
KmsException |
withKmsError (String kmsError)
The error code returned by KMS.
|
getErrorCode, getErrorMessage, getErrorType, getHttpHeaders, getMessage, getProxyHost, getRawResponse, getRawResponseContent, getRequestId, getServiceName, getStatusCode, setErrorCode, setErrorMessage, setErrorType, setHttpHeaders, setProxyHost, setRawResponse, setRawResponseContent, setRequestId, setServiceName, setStatusCode isRetryable addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString public KmsException(String message)
message - Describes the error encountered.public void setKmsError(String kmsError)
The error code returned by KMS.
kmsError - The error code returned by KMS.public String getKmsError()
The error code returned by KMS.
public KmsException withKmsError(String kmsError)
The error code returned by KMS.
kmsError - The error code returned by KMS.