Перенос с маленькими правками
This commit is contained in:
@@ -0,0 +1,42 @@
|
||||
package com.ea.nimble;
|
||||
|
||||
import com.google.android.gms.games.GamesActivityResultCodes;
|
||||
|
||||
/* loaded from: classes.dex */
|
||||
public class SynergyServerError extends Error {
|
||||
public static final String ERROR_DOMAIN = "SynergyServerError";
|
||||
private static final long serialVersionUID = 1;
|
||||
|
||||
public enum Code {
|
||||
ERROR_NONCE_VERIFICATION(-30013),
|
||||
ERROR_SIGNATURE_VERIFICATION(-30014),
|
||||
ERROR_NOT_SUPPORTED_RECEIPT_TYPE(-30015),
|
||||
AMAZON_SERVER_CONNECTION_ERROR(-30016),
|
||||
APPLE_SERVER_CONNECTION_ERROR(GamesActivityResultCodes.RESULT_RECONNECT_REQUIRED);
|
||||
|
||||
private int m_value;
|
||||
|
||||
Code(int i) {
|
||||
this.m_value = i;
|
||||
}
|
||||
|
||||
public int intValue() {
|
||||
return this.m_value;
|
||||
}
|
||||
}
|
||||
|
||||
public SynergyServerError() {
|
||||
}
|
||||
|
||||
public SynergyServerError(int i, String str, Throwable th) {
|
||||
super(ERROR_DOMAIN, i, str, th);
|
||||
}
|
||||
|
||||
public SynergyServerError(int i, String str) {
|
||||
super(ERROR_DOMAIN, i, str, null);
|
||||
}
|
||||
|
||||
public boolean isError(int i) {
|
||||
return getCode() == i;
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user