- Added realracing3-community.apk (71.57 MB) - Removed 32-bit support (armeabi-v7a) - Only includes arm64-v8a libraries - Decompiled source code included - Added README-community.md with analysis
23 lines
983 B
Java
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);
|
|
}
|
|
}
|