- 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
69 lines
2.3 KiB
Java
69 lines
2.3 KiB
Java
package com.facebook.bolts;
|
|
|
|
import java.io.PrintStream;
|
|
import java.io.PrintWriter;
|
|
import java.util.Collections;
|
|
import java.util.List;
|
|
import kotlin.collections.CollectionsKt__CollectionsKt;
|
|
import kotlin.jvm.internal.DefaultConstructorMarker;
|
|
import kotlin.jvm.internal.Intrinsics;
|
|
|
|
/* loaded from: classes2.dex */
|
|
public final class AggregateException extends Exception {
|
|
public static final Companion Companion = new Companion(null);
|
|
private static final long serialVersionUID = 1;
|
|
private final List<Throwable> innerThrowables;
|
|
|
|
public AggregateException(String str, List<? extends Throwable> list) {
|
|
super(str, (list == null || !(list.isEmpty() ^ true)) ? null : list.get(0));
|
|
List<Throwable> unmodifiableList = Collections.unmodifiableList(list == null ? CollectionsKt__CollectionsKt.emptyList() : list);
|
|
Intrinsics.checkNotNullExpressionValue(unmodifiableList, "unmodifiableList(innerThrowables ?: emptyList())");
|
|
this.innerThrowables = unmodifiableList;
|
|
}
|
|
|
|
@Override // java.lang.Throwable
|
|
public void printStackTrace(PrintStream err) {
|
|
Intrinsics.checkNotNullParameter(err, "err");
|
|
super.printStackTrace(err);
|
|
int i = -1;
|
|
for (Throwable th : this.innerThrowables) {
|
|
err.append("\n");
|
|
err.append(" Inner throwable #");
|
|
i++;
|
|
err.append((CharSequence) String.valueOf(i));
|
|
err.append(": ");
|
|
if (th != null) {
|
|
th.printStackTrace(err);
|
|
}
|
|
err.append("\n");
|
|
}
|
|
}
|
|
|
|
@Override // java.lang.Throwable
|
|
public void printStackTrace(PrintWriter err) {
|
|
Intrinsics.checkNotNullParameter(err, "err");
|
|
super.printStackTrace(err);
|
|
int i = -1;
|
|
for (Throwable th : this.innerThrowables) {
|
|
err.append("\n");
|
|
err.append(" Inner throwable #");
|
|
i++;
|
|
err.append((CharSequence) String.valueOf(i));
|
|
err.append(": ");
|
|
if (th != null) {
|
|
th.printStackTrace(err);
|
|
}
|
|
err.append("\n");
|
|
}
|
|
}
|
|
|
|
public static final class Companion {
|
|
public /* synthetic */ Companion(DefaultConstructorMarker defaultConstructorMarker) {
|
|
this();
|
|
}
|
|
|
|
private Companion() {
|
|
}
|
|
}
|
|
}
|