- 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
57 lines
2.3 KiB
Java
57 lines
2.3 KiB
Java
package com.fyber.inneractive.sdk.network;
|
|
|
|
import com.fyber.inneractive.sdk.external.InneractiveAdRequest;
|
|
import com.fyber.inneractive.sdk.network.s;
|
|
import com.fyber.inneractive.sdk.util.IAlog;
|
|
import java.io.PrintWriter;
|
|
import java.io.StringWriter;
|
|
import org.json.JSONArray;
|
|
import org.json.JSONObject;
|
|
|
|
/* loaded from: classes2.dex */
|
|
public final class t {
|
|
public static void a(String str, String str2, InneractiveAdRequest inneractiveAdRequest, com.fyber.inneractive.sdk.response.e eVar) {
|
|
s.a aVar = new s.a(r.CAUGHT_EXCEPTION, inneractiveAdRequest, eVar, (JSONArray) null);
|
|
JSONObject jSONObject = new JSONObject();
|
|
try {
|
|
jSONObject.put("exception_name", str);
|
|
} catch (Exception unused) {
|
|
IAlog.f("Got exception adding param to json object: %s, %s", "exception_name", str);
|
|
}
|
|
try {
|
|
jSONObject.put("description", str2);
|
|
} catch (Exception unused2) {
|
|
IAlog.f("Got exception adding param to json object: %s, %s", "description", str2);
|
|
}
|
|
aVar.f.put(jSONObject);
|
|
aVar.a((String) null);
|
|
}
|
|
|
|
public static void a(Throwable th, InneractiveAdRequest inneractiveAdRequest, com.fyber.inneractive.sdk.response.e eVar) {
|
|
StringWriter stringWriter = new StringWriter();
|
|
th.printStackTrace(new PrintWriter(stringWriter));
|
|
String stringBuffer = stringWriter.getBuffer().toString();
|
|
s.a aVar = new s.a(r.CAUGHT_EXCEPTION, inneractiveAdRequest, eVar, (JSONArray) null);
|
|
JSONObject jSONObject = new JSONObject();
|
|
String cls = th.getClass().toString();
|
|
try {
|
|
jSONObject.put("exception_name", cls);
|
|
} catch (Exception unused) {
|
|
IAlog.f("Got exception adding param to json object: %s, %s", "exception_name", cls);
|
|
}
|
|
String message = th.getMessage();
|
|
try {
|
|
jSONObject.put("description", message);
|
|
} catch (Exception unused2) {
|
|
IAlog.f("Got exception adding param to json object: %s, %s", "description", message);
|
|
}
|
|
try {
|
|
jSONObject.put("stack_trace", stringBuffer);
|
|
} catch (Exception unused3) {
|
|
IAlog.f("Got exception adding param to json object: %s, %s", "stack_trace", stringBuffer);
|
|
}
|
|
aVar.f.put(jSONObject);
|
|
aVar.a((String) null);
|
|
}
|
|
}
|