Package com.amazonaws.encryptionsdk.exception
package com.amazonaws.encryptionsdk.exception
Contains the various exceptions which may be thrown by the AWS Encryption SDK.
-
Exception SummaryExceptionDescriptionThis is the parent class of the runtime exceptions thrown by the AWS Encryption SDK.This exception is thrown when the values found in a ciphertext message are invalid or corrupt.This exception is thrown when there are no
DataKey
s which can be decrypted.This exception is thrown when the SDK attempts to use aMasterKey
which either doesn't exist or to which it doesn't have access.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.This exception is thrown when there are noMasterKeyProvider
s which which support the requestedprovider
value.