diff --git a/core/sdk-core/src/main/java/software/amazon/awssdk/core/internal/http/pipeline/stages/RetryableStage.java b/core/sdk-core/src/main/java/software/amazon/awssdk/core/internal/http/pipeline/stages/RetryableStage.java index a545cb4b088e..7482b0c63f6d 100644 --- a/core/sdk-core/src/main/java/software/amazon/awssdk/core/internal/http/pipeline/stages/RetryableStage.java +++ b/core/sdk-core/src/main/java/software/amazon/awssdk/core/internal/http/pipeline/stages/RetryableStage.java @@ -16,6 +16,7 @@ package software.amazon.awssdk.core.internal.http.pipeline.stages; import java.io.IOException; +import java.io.UncheckedIOException; import java.time.Duration; import java.util.Optional; import java.util.concurrent.TimeUnit; @@ -56,7 +57,7 @@ public Response execute(SdkHttpFullRequest request, RequestExecutionCon Response response = executeRequest(retryableStageHelper, context); retryableStageHelper.recordAttemptSucceeded(); return response; - } catch (SdkExceptionWithRetryAfterHint | SdkException | IOException e) { + } catch (SdkExceptionWithRetryAfterHint | SdkException | IOException | UncheckedIOException e) { Throwable throwable = e; if (e instanceof SdkExceptionWithRetryAfterHint) { SdkExceptionWithRetryAfterHint wrapper = (SdkExceptionWithRetryAfterHint) e;