Files
rr3-apk/decompiled-community/sources/com/amazonaws/transform/StandardErrorUnmarshaller.java
Daniel Elliott c080f0d97f Add Discord community version (64-bit only)
- 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
2026-02-18 15:48:36 -08:00

38 lines
1.5 KiB
Java

package com.amazonaws.transform;
import com.amazonaws.AmazonServiceException;
import com.amazonaws.util.XpathUtils;
import org.w3c.dom.Node;
/* loaded from: classes.dex */
public class StandardErrorUnmarshaller extends AbstractErrorUnmarshaller<Node> {
public StandardErrorUnmarshaller() {
}
public StandardErrorUnmarshaller(Class cls) {
super(cls);
}
@Override // com.amazonaws.transform.Unmarshaller
public AmazonServiceException unmarshall(Node node) {
String parseErrorCode = parseErrorCode(node);
String asString = XpathUtils.asString("ErrorResponse/Error/Type", node);
String asString2 = XpathUtils.asString("ErrorResponse/RequestId", node);
AmazonServiceException newException = newException(XpathUtils.asString("ErrorResponse/Error/Message", node));
newException.setErrorCode(parseErrorCode);
newException.setRequestId(asString2);
if (asString == null) {
newException.setErrorType(AmazonServiceException.ErrorType.Unknown);
} else if ("Receiver".equalsIgnoreCase(asString)) {
newException.setErrorType(AmazonServiceException.ErrorType.Service);
} else if ("Sender".equalsIgnoreCase(asString)) {
newException.setErrorType(AmazonServiceException.ErrorType.Client);
}
return newException;
}
public String parseErrorCode(Node node) {
return XpathUtils.asString("ErrorResponse/Error/Code", node);
}
}