Skip to content

Commit

Permalink
docs(awscore): Update JavaDoc for AwsServiceException.html#isThrottli…
Browse files Browse the repository at this point in the history
…ngException() (#5190)
  • Loading branch information
joviegas committed May 9, 2024
1 parent e46761c commit 09b2e41
Showing 1 changed file with 5 additions and 0 deletions.
Expand Up @@ -107,6 +107,11 @@ public boolean isClockSkewException() {
ClockSkew.getServerTime(sdkHttpResponse).orElse(null));
}

/**
* Checks if the exception is caused by throttling, considering both generic SDK and AWS-specific error code details.
*
* @return true if the status code is 429 or if the AWS error code indicates throttling, otherwise false.
* */
@Override
public boolean isThrottlingException() {
return super.isThrottlingException() ||
Expand Down

0 comments on commit 09b2e41

Please sign in to comment.