Skip to content

Clarification on which SdkClientException subclasses may be retryable #3016

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 2 commits into from
Feb 7, 2022
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -16,15 +16,19 @@
package software.amazon.awssdk.core.exception;

import software.amazon.awssdk.annotations.SdkPublicApi;
import software.amazon.awssdk.core.internal.retry.SdkDefaultRetrySetting;

/**
* Base type for all client exceptions thrown by the SDK.
*
* This exception is thrown when service could not be contacted for a response,
* or when client is unable to parse the response from service.
*
* All exceptions that extend {@link SdkClientException} are assumed to be
* not retryable.
* <p>
* Exceptions that extend {@link SdkClientException} are assumed to be not retryable, with a few exceptions:
* <ul>
* <li>{@link RetryableException} - usable when calls should explicitly be retried</li>
* <li>Exceptions mentioned as a retryable exception in {@link SdkDefaultRetrySetting}</li>
* </ul>
*
* @see SdkServiceException
*/
Expand Down