Package com.amazonaws.encryptionsdk.exception
Contains the various exceptions which may be thrown by the AWS Encryption SDK.
-
Exception Summary Exception Description AwsCryptoException This is the parent class of the runtime exceptions thrown by the AWS Encryption SDK.BadCiphertextException This exception is thrown when the values found in a ciphertext message are invalid or corrupt.CannotUnwrapDataKeyException This exception is thrown when there are noDataKey
s which can be decrypted.NoSuchMasterKeyException This exception is thrown when the SDK attempts to use aMasterKey
which either doesn't exist or to which it doesn't have access.ParseException This exception is thrown when there are not enough bytes to parse a primitive, a specified number of bytes, or the bytes does not properly represent the desired object.UnsupportedProviderException This exception is thrown when there are noMasterKeyProvider
s which which support the requestedprovider
value.