package com.ea.nimble; /* loaded from: classes2.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(10001); private int m_value; public int intValue() { return this.m_value; } Code(int i) { this.m_value = i; } } 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; } }