Class Crc32MismatchException
- 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.awssdk.core.exception.Crc32MismatchException
-
- All Implemented Interfaces:
Serializable
public final class Crc32MismatchException extends SdkClientException
Extension ofSdkClientException
that is thrown whenever the client-side computed CRC32 does not match the server-side computed CRC32.- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interface
Crc32MismatchException.Builder
protected static class
Crc32MismatchException.BuilderImpl
-
Constructor Summary
Constructors Modifier Constructor Description protected
Crc32MismatchException(Crc32MismatchException.Builder b)
Creates a new CRC32MismatchException with the specified message.
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static Crc32MismatchException.Builder
builder()
static Crc32MismatchException
create(String message, Throwable cause)
boolean
retryable()
Specifies whether or not an exception can be expected to succeed on a retry.Crc32MismatchException.Builder
toBuilder()
Create aSdkClientException.Builder
initialized with the properties of thisSdkClientException
.-
Methods inherited from class software.amazon.awssdk.core.exception.SdkClientException
create
-
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
-
-
-
Constructor Detail
-
Crc32MismatchException
protected Crc32MismatchException(Crc32MismatchException.Builder b)
Creates a new CRC32MismatchException with the specified message.
-
-
Method Detail
-
create
public static Crc32MismatchException create(String message, Throwable cause)
-
retryable
public boolean retryable()
Description copied from class:SdkException
Specifies whether or not an exception can be expected to succeed on a retry.- Overrides:
retryable
in classSdkException
-
toBuilder
public Crc32MismatchException.Builder toBuilder()
Description copied from class:SdkClientException
Create aSdkClientException.Builder
initialized with the properties of thisSdkClientException
.- Overrides:
toBuilder
in classSdkClientException
- Returns:
- A new builder initialized with this config's properties.
-
builder
public static Crc32MismatchException.Builder builder()
-
-