Package software.amazon.encryption.s3
Class S3EncryptionClientException
- 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
-
- All Implemented Interfaces:
Serializable
- Direct Known Subclasses:
S3EncryptionClientSecurityException
public class S3EncryptionClientException extends software.amazon.awssdk.core.exception.SdkClientExceptionBase exception class for all S3 Encryption Client specific exceptions. This exception is thrown when errors occur during encryption or decryption operations, configuration validation, or other client-specific scenarios.- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interfaceS3EncryptionClientException.BuilderBuilder interface for constructing S3EncryptionClientException instances.protected static classS3EncryptionClientException.BuilderImpl
-
Constructor Summary
Constructors Constructor Description S3EncryptionClientException(String message)Constructs a new S3EncryptionClientException with the specified error message.S3EncryptionClientException(String message, Throwable cause)Constructs a new S3EncryptionClientException with the specified error message and cause.
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static S3EncryptionClientException.Builderbuilder()Creates a new builder for constructing S3EncryptionClientException instances.S3EncryptionClientException.BuildertoBuilder()-
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
-
S3EncryptionClientException
public S3EncryptionClientException(String message)
Constructs a new S3EncryptionClientException with the specified error message.- Parameters:
message- a description of the error
-
-
Method Detail
-
toBuilder
public S3EncryptionClientException.Builder toBuilder()
- Overrides:
toBuilderin classsoftware.amazon.awssdk.core.exception.SdkClientException
-
builder
public static S3EncryptionClientException.Builder builder()
Creates a new builder for constructing S3EncryptionClientException instances.- Returns:
- a new Builder instance
-
-