package com.igaworks.ssp; import com.google.android.gms.ads.RequestConfiguration; /* loaded from: classes2.dex */ public class SSPErrorCode { public static final int BANNER_VIEW_IS_EMPTY = 10000; public static final int EXCEPTION = 200; public static final int GDPR_CONSENT_UNAVAILABLE = 5008; public static final int INVALID_APP_KEY = 2000; public static final int INVALID_NATIVE_ASSETS_CONFIG = 3300; public static final int INVALID_ONESTORE_KEY = 5007; public static final int INVALID_PARAMETER = 1000; public static final int INVALID_PLACEMENT_ID = 2030; public static final int LOAD_AD_FAILED = 5001; public static final int NETWORK_IS_NOT_ONLINE = 100001; public static final int NO_AD = 5002; public static final int NO_INTERSTITIAL_LOADED = 5003; public static final int NO_INTERSTITIAL_VIDEO_AD_LOADED = 5009; public static final int NO_REWARD_VIDEO_AD_LOADED = 5005; public static final int NO_SPLASH_AD_LOADED = 5010; public static final int PROCESSING_PREVIOUS_REQUEST = 5006; public static final int SERVER_TIMEOUT = 5000; public static final int SUCCESS = 1; public static final int UNKNOWN_SERVER_ERROR = 9999; /* renamed from: a, reason: collision with root package name */ private int f5718a; /* renamed from: b, reason: collision with root package name */ private String f5719b; public SSPErrorCode(int i10) { String str; this.f5719b = RequestConfiguration.MAX_AD_CONTENT_RATING_UNSPECIFIED; this.f5718a = i10; if (i10 == 1000) { str = "Invalid Parameter"; } else if (i10 == 2000) { str = "Invalid App Key"; } else if (i10 == 2030) { str = "Invalid Placement ID"; } else if (i10 == 3300) { str = "Invalid native assets config"; } else if (i10 == 100001) { str = "Network Is Not Online"; } else if (i10 == 9999) { str = "Unknown Server Error"; } else if (i10 != 10000) { switch (i10) { case SERVER_TIMEOUT /* 5000 */: str = "Server Timeout"; break; case LOAD_AD_FAILED /* 5001 */: str = "Load Ad Failed"; break; case NO_AD /* 5002 */: str = "No Ad"; break; case NO_INTERSTITIAL_LOADED /* 5003 */: str = "No Interstitial Loaded"; break; default: switch (i10) { case NO_REWARD_VIDEO_AD_LOADED /* 5005 */: str = "No Reward video ad Loaded"; break; case PROCESSING_PREVIOUS_REQUEST /* 5006 */: str = "Processing previous request"; break; case INVALID_ONESTORE_KEY /* 5007 */: str = "onestore key is Empty"; break; case GDPR_CONSENT_UNAVAILABLE /* 5008 */: str = "gdpr_consent_unavailable"; break; case NO_INTERSTITIAL_VIDEO_AD_LOADED /* 5009 */: str = "No Interstitial video ad Loaded"; break; default: str = "Exception"; break; } } } else { str = "Banner View Is Empty"; } this.f5719b = str; } public int getErrorCode() { return this.f5718a; } public String getErrorMessage() { return this.f5719b; } public void setErrorCode(int i10) { this.f5718a = i10; } public void setErrorMessage(String str) { this.f5719b = str; } }