Package software.amazon.encryption.s3
Class S3EncryptionClientSecurityException
- java.lang.Object
-
- java.lang.Throwable
-
- java.lang.Exception
-
- java.lang.RuntimeException
-
- software.amazon.awssdk.core.exception.SdkException
-
- software.amazon.awssdk.core.exception.SdkClientException
-
- software.amazon.encryption.s3.S3EncryptionClientException
-
- software.amazon.encryption.s3.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
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class software.amazon.encryption.s3.S3EncryptionClientException
S3EncryptionClientException.Builder, S3EncryptionClientException.BuilderImpl
-
-
Constructor Summary
Constructors Constructor Description S3EncryptionClientSecurityException(String message)Constructs a new S3EncryptionClientSecurityException with the specified error message.S3EncryptionClientSecurityException(String message, Throwable cause)Constructs a new S3EncryptionClientSecurityException with the specified error message and cause.
-
Method Summary
-
Methods inherited from class software.amazon.encryption.s3.S3EncryptionClientException
builder, toBuilder
-
Methods inherited from class software.amazon.awssdk.core.exception.SdkClientException
create, create, getMessage
-
Methods inherited from class software.amazon.awssdk.core.exception.SdkException
numAttempts, rawMessage, retryable
-
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
-
-
-
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 errorcause- the underlying cause of this security exception
-
-