Files
rr3-apk/decompiled/sources/com/amazonaws/retry/RetryUtils.java
Daniel Elliott f9d20bb3fc Add decompiled APK source code (JADX)
- 28,932 files
- Full Java source code
- Smali files
- Resources

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
2026-02-18 14:52:23 -08:00

23 lines
983 B
Java

package com.amazonaws.retry;
import com.amazonaws.AmazonServiceException;
/* loaded from: classes.dex */
public abstract class RetryUtils {
public static boolean isThrottlingException(AmazonServiceException amazonServiceException) {
if (amazonServiceException == null) {
return false;
}
String errorCode = amazonServiceException.getErrorCode();
return "Throttling".equals(errorCode) || "ThrottlingException".equals(errorCode) || "ProvisionedThroughputExceededException".equals(errorCode);
}
public static boolean isClockSkewError(AmazonServiceException amazonServiceException) {
if (amazonServiceException == null) {
return false;
}
String errorCode = amazonServiceException.getErrorCode();
return "RequestTimeTooSkewed".equals(errorCode) || "RequestExpired".equals(errorCode) || "InvalidSignatureException".equals(errorCode) || "SignatureDoesNotMatch".equals(errorCode);
}
}