Class KmsKeyNotFoundException
- java.lang.Object
-
- java.lang.Throwable
-
- java.lang.Exception
-
- java.lang.RuntimeException
-
- com.amazonaws.AmazonClientException
-
- com.amazonaws.AmazonServiceException
-
- com.amazonaws.services.cloudtrail.model.KmsKeyNotFoundException
-
- All Implemented Interfaces:
Serializable
public class KmsKeyNotFoundException extends AmazonServiceException
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.
- See Also:
- Serialized Form
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class com.amazonaws.AmazonServiceException
AmazonServiceException.ErrorType
-
-
Constructor Summary
Constructors Constructor Description KmsKeyNotFoundException(String message)
Constructs a new KmsKeyNotFoundException with the specified error message.
-
Method Summary
-
Methods inherited from class com.amazonaws.AmazonServiceException
getErrorCode, getErrorMessage, getErrorType, getMessage, getRawResponse, getRawResponseContent, getRequestId, getServiceName, getStatusCode, setErrorCode, setErrorMessage, setErrorType, setRawResponse, setRawResponseContent, setRequestId, setServiceName, setStatusCode
-
Methods inherited from class com.amazonaws.AmazonClientException
isRetryable
-
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
-
-
-
Constructor Detail
-
KmsKeyNotFoundException
public KmsKeyNotFoundException(String message)
Constructs a new KmsKeyNotFoundException with the specified error message.- Parameters:
message
- Describes the error encountered.
-
-