Modifier and Type | Class and Description |
---|---|
class |
EndpointDiscoveryFailedException
This exception is thrown when the SDK was unable to retrieve an endpoint from AWS.
|
Modifier and Type | Class and Description |
---|---|
class |
AbortedException
Extension of
SdkClientException that is thrown whenever an
operation has been aborted by the SDK. |
class |
ApiCallAttemptTimeoutException
Signals that an api call attempt could not complete within the specified timeout.
|
class |
ApiCallTimeoutException
Signals that an api call could not complete within the specified timeout.
|
class |
Crc32MismatchException
Extension of
SdkClientException that is thrown whenever the
client-side computed CRC32 does not match the server-side computed CRC32. |
class |
NonRetryableException
Extension of
SdkException that can be used by clients to
explicitly have an exception not retried. |
class |
RetryableException
Extension of
SdkException that can be used by clients to
explicitly have an exception retried. |
Modifier and Type | Method and Description |
---|---|
SdkClientException |
SdkClientException.Builder.build() |
SdkClientException |
SdkClientException.BuilderImpl.build() |
static SdkClientException |
SdkClientException.create(String message) |
static SdkClientException |
SdkClientException.create(String message,
Throwable cause) |
Constructor and Description |
---|
BuilderImpl(SdkClientException ex) |
Modifier and Type | Method and Description |
---|---|
static <T> TimeoutTracker |
TimerUtils.timeAsyncTaskIfNeeded(CompletableFuture<T> completableFuture,
ScheduledExecutorService timeoutExecutor,
Supplier<SdkClientException> exceptionSupplier,
long timeoutInMills)
Schedule a
TimeoutTask and exceptional completes a CompletableFuture with the provide exception
if not otherwise completed before the given timeout. |
Constructor and Description |
---|
AsyncTimeoutTask(CompletableFuture<?> completableFuture,
Supplier<SdkClientException> exceptionSupplier)
Constructs a new
AsyncTimeoutTask . |
Modifier and Type | Method and Description |
---|---|
SdkClientException |
WaiterExecutorHelper.noneMatchException(Either<T,Throwable> responseOrException) |
SdkClientException |
WaiterExecutorHelper.waiterFailureException(WaiterAcceptor<? super T> acceptor) |
Modifier and Type | Method and Description |
---|---|
Either<Long,SdkClientException> |
WaiterExecutorHelper.nextDelayOrUnretryableException(int attemptNumber,
long startTime) |
Copyright © 2022. All rights reserved.