File tree Expand file tree Collapse file tree 1 file changed +7
-3
lines changed
core/sdk-core/src/main/java/software/amazon/awssdk/core/exception Expand file tree Collapse file tree 1 file changed +7
-3
lines changed Original file line number Diff line number Diff line change 16
16
package software .amazon .awssdk .core .exception ;
17
17
18
18
import software .amazon .awssdk .annotations .SdkPublicApi ;
19
+ import software .amazon .awssdk .core .internal .retry .SdkDefaultRetrySetting ;
19
20
20
21
/**
21
22
* Base type for all client exceptions thrown by the SDK.
22
23
*
23
24
* This exception is thrown when service could not be contacted for a response,
24
25
* or when client is unable to parse the response from service.
25
- *
26
- * All exceptions that extend {@link SdkClientException} are assumed to be
27
- * not retryable.
26
+ * <p>
27
+ * Exceptions that extend {@link SdkClientException} are assumed to be not retryable, with a few exceptions:
28
+ * <ul>
29
+ * <li>{@link RetryableException} - usable when calls should explicitly be retried</li>
30
+ * <li>Exceptions mentioned as a retryable exception in {@link SdkDefaultRetrySetting}</li>
31
+ * </ul>
28
32
*
29
33
* @see SdkServiceException
30
34
*/
You can’t perform that action at this time.
0 commit comments