@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class KmsKeyNotFoundException extends AWSCloudTrailException
This exception is thrown when the KMS key does not exist, or when the S3 bucket and the KMS key are not in the same region.
AmazonServiceException.ErrorType| Constructor and Description |
|---|
KmsKeyNotFoundException(String message)
Constructs a new KmsKeyNotFoundException with the specified error message.
|
getErrorCode, getErrorMessage, getErrorType, getHttpHeaders, getMessage, getRawResponse, getRawResponseContent, getRequestId, getServiceName, getStatusCode, setErrorCode, setErrorMessage, setErrorType, setHttpHeaders, setRawResponse, setRawResponseContent, setRequestId, setServiceName, setStatusCodeisRetryableaddSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toStringpublic KmsKeyNotFoundException(String message)
message - Describes the error encountered.Copyright © 2013 Amazon Web Services, Inc. All Rights Reserved.