@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class IncorrectKeyMaterialException extends AWSKMSException
The request was rejected because the key material in the request is, expired, invalid, or is not the same key material that was previously imported into this KMS key.
AmazonServiceException.ErrorType| Constructor and Description |
|---|
IncorrectKeyMaterialException(String message)
Constructs a new IncorrectKeyMaterialException with the specified error message.
|
getErrorCode, getErrorMessage, getErrorType, getHttpHeaders, getMessage, getProxyHost, getRawResponse, getRawResponseContent, getRequestId, getServiceName, getStatusCode, setErrorCode, setErrorMessage, setErrorType, setHttpHeaders, setProxyHost, setRawResponse, setRawResponseContent, setRequestId, setServiceName, setStatusCodeisRetryableaddSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toStringpublic IncorrectKeyMaterialException(String message)
message - Describes the error encountered.