正在查看: Dostt v1.0.89 应用的 c.java JAVA 源代码文件
本页面展示 JAVA 反编译生成的源代码文件,支持语法高亮显示。 仅供安全研究与技术分析使用,严禁用于任何非法用途。请遵守相关法律法规。
正在查看: Dostt v1.0.89 应用的 c.java JAVA 源代码文件
本页面展示 JAVA 反编译生成的源代码文件,支持语法高亮显示。 仅供安全研究与技术分析使用,严禁用于任何非法用途。请遵守相关法律法规。
package D5;
import Aj.l;
import Aj.o;
import Th.p;
import android.net.Uri;
import com.cashfree.pg.core.hidden.nfc.parser.EmvParser;
import java.util.List;
import java.util.ListIterator;
import kotlin.jvm.internal.DefaultConstructorMarker;
import kotlin.jvm.internal.r;
import org.json.JSONException;
import org.json.JSONObject;
public final class c extends RuntimeException {
public static final a f1386b = new a(null);
private static final String f1387c = "\n\nTry the following to fix the issue:\n\\u2022 Ensure that Metro is running\n\\u2022 Ensure that your device/emulator is connected to your machine and has USB debugging enabled - run 'adb devices' to see a list of connected devices\n\\u2022 Ensure Airplane Mode is disabled\n\\u2022 If you're on a physical device connected to the same machine, run 'adb reverse tcp:<PORT> tcp:<PORT> to forward requests from your device\n\\u2022 If your device is on the same Wi-Fi network, set 'Debug server host & port for device' in 'Dev settings' to your machine's IP address and the port of the local dev server - e.g. 10.0.1.1:<PORT>\n\n";
private final String f1388a;
public static final class a {
public a(DefaultConstructorMarker defaultConstructorMarker) {
this();
}
private final String d(String str) {
List m7;
List g7 = new l(EmvParser.CARD_HOLDER_NAME_SEPARATOR).g(str, 0);
if (!g7.isEmpty()) {
ListIterator listIterator = g7.listIterator(g7.size());
while (listIterator.hasPrevious()) {
if (((String) listIterator.previous()).length() != 0) {
m7 = p.Q0(g7, listIterator.nextIndex() + 1);
break;
}
}
}
m7 = p.m();
return (String) Th.i.o0((String[]) m7.toArray(new String[0]));
}
public final c a(String str, String str2, String str3, Throwable th) {
r.f(str, "url");
r.f(str2, "reason");
r.f(str3, "extra");
return new c(str2 + o.E(c.f1387c, "<PORT>", String.valueOf(Uri.parse(str).getPort()), false, 4, (Object) null) + str3, th);
}
public final c b(String str, String str2, Throwable th) {
r.f(str, "url");
r.f(str2, "reason");
return a(str, str2, "", th);
}
public final c c(String str, String str2) {
if (str2 != null && str2.length() != 0) {
try {
JSONObject jSONObject = new JSONObject(str2);
String string = jSONObject.getString("filename");
String string2 = jSONObject.getString("message");
r.e(string2, "getString(...)");
r.c(string);
return new c(string2, d(string), jSONObject.getInt("lineNumber"), jSONObject.getInt("column"), null);
} catch (JSONException e7) {
U3.a.K("ReactNative", "Could not parse DebugServerException from: " + str2, e7);
}
}
return null;
}
private a() {
}
}
public c(String str, String str2, int i7, int i8, DefaultConstructorMarker defaultConstructorMarker) {
this(str, str2, i7, i8);
}
public static final c b(String str, String str2, String str3, Throwable th) {
return f1386b.a(str, str2, str3, th);
}
public static final c c(String str, String str2, Throwable th) {
return f1386b.b(str, str2, th);
}
public static final c d(String str, String str2) {
return f1386b.c(str, str2);
}
private c(String str, String str2, int i7, int i8) {
super(str + "\n at " + str2 + ":" + i7 + ":" + i8);
this.f1388a = str;
}
public c(String str) {
super(str);
r.f(str, "description");
this.f1388a = str;
}
public c(String str, Throwable th) {
super(str, th);
r.f(str, "detailMessage");
this.f1388a = str;
}
}