Exception: Aws::S3::EncryptionV2::Errors::CEKAlgMismatchError
- Inherits:
-
DecryptionError
- Object
- RuntimeError
- DecryptionError
- Aws::S3::EncryptionV2::Errors::CEKAlgMismatchError
- Defined in:
- lib/aws-sdk-s3/encryptionV2/errors.rb
Instance Method Summary collapse
-
#initialize(*args) ⇒ CEKAlgMismatchError
constructor
A new instance of CEKAlgMismatchError.
Constructor Details
#initialize(*args) ⇒ CEKAlgMismatchError
Returns a new instance of CEKAlgMismatchError.
26 27 28 29 30 31 |
# File 'lib/aws-sdk-s3/encryptionV2/errors.rb', line 26 def initialize(*args) msg = 'The content encryption algorithm used at encryption time ' \ 'does not match the algorithm stored for decryption time. ' \ 'The object may be altered or corrupted.' super(msg) end |