Class S3EncryptionClientSecurityException

  • All Implemented Interfaces:
    Serializable

    public class S3EncryptionClientSecurityException
    extends S3EncryptionClientException
    Exception class for security-related errors in the S3 Encryption Client. This exception is thrown when security violations or cryptographic failures occur, such as authentication tag validation failures, key commitment mismatches, or other security-critical errors that could indicate tampering or corruption of encrypted data.
    See Also:
    Serialized Form
    • Constructor Detail

      • S3EncryptionClientSecurityException

        public S3EncryptionClientSecurityException​(String message)
        Constructs a new S3EncryptionClientSecurityException with the specified error message.
        Parameters:
        message - a description of the security error
      • S3EncryptionClientSecurityException

        public S3EncryptionClientSecurityException​(String message,
                                                   Throwable cause)
        Constructs a new S3EncryptionClientSecurityException with the specified error message and cause.
        Parameters:
        message - a description of the security error
        cause - the underlying cause of this security exception