Files
rr3-apk/decompiled/sources/kotlin/ExceptionsKt__ExceptionsKt.java
Daniel Elliott f9d20bb3fc Add decompiled APK source code (JADX)
- 28,932 files
- Full Java source code
- Smali files
- Resources

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
2026-02-18 14:52:23 -08:00

29 lines
1.0 KiB
Java

package kotlin;
import java.io.PrintWriter;
import java.io.StringWriter;
import kotlin.internal.PlatformImplementationsKt;
import kotlin.jvm.internal.Intrinsics;
/* loaded from: classes5.dex */
public abstract class ExceptionsKt__ExceptionsKt {
public static String stackTraceToString(Throwable th) {
Intrinsics.checkNotNullParameter(th, "<this>");
StringWriter stringWriter = new StringWriter();
PrintWriter printWriter = new PrintWriter(stringWriter);
th.printStackTrace(printWriter);
printWriter.flush();
String stringWriter2 = stringWriter.toString();
Intrinsics.checkNotNullExpressionValue(stringWriter2, "toString(...)");
return stringWriter2;
}
public static void addSuppressed(Throwable th, Throwable exception) {
Intrinsics.checkNotNullParameter(th, "<this>");
Intrinsics.checkNotNullParameter(exception, "exception");
if (th != exception) {
PlatformImplementationsKt.IMPLEMENTATIONS.addSuppressed(th, exception);
}
}
}