package p060t1;

import java.util.List;
import java.util.ServiceLoader;
import p006b1.C0471a;
import p006b1.C0476f;
import p006b1.C0479g;
import p006b1.C0484l;
import p012d1.InterfaceC0633f;
import p054r1.C1599e;
import p054r1.C1602g;

/* renamed from: t1.w */
/* loaded from: classes.dex */
public final class C1726w {

    /* renamed from: a */
    public static final List<InterfaceC1721v> f3955a = C1602g.m805d(C1599e.m808a(ServiceLoader.load(InterfaceC1721v.class, InterfaceC1721v.class.getClassLoader()).iterator()));

    /* renamed from: a */
    public static final void m500a(InterfaceC0633f interfaceC0633f, Throwable th) {
        for (InterfaceC1721v interfaceC1721v : f3955a) {
            try {
                interfaceC1721v.handleException(interfaceC0633f, th);
            } catch (Throwable th2) {
                Thread currentThread = Thread.currentThread();
                currentThread.getUncaughtExceptionHandler().uncaughtException(currentThread, C1728x.m498b(th, th2));
            }
        }
        Thread currentThread2 = Thread.currentThread();
        try {
            C0476f.C0477a c0477a = C0476f.f1684d;
            C0471a.m3632a(th, new C1668d0(interfaceC0633f));
            C0476f.m3626a(C0484l.f1690a);
        } catch (Throwable th3) {
            C0476f.C0477a c0477a2 = C0476f.f1684d;
            C0476f.m3626a(C0479g.m3622a(th3));
        }
        currentThread2.getUncaughtExceptionHandler().uncaughtException(currentThread2, th);
    }
}