package defpackage;

import java.lang.Thread;
import java.util.Locale;
import java.util.logging.Level;

/* JADX INFO: loaded from: classes2.dex */
@dz3
@ii2
@sw4
public final class e5a {

    @tma
    public static final class a implements Thread.UncaughtExceptionHandler {
        public static final y65 a = new y65(a.class);

        /* JADX WARN: Code restructure failed: missing block: B:13:?, code lost:
        
            throw null;
         */
        @Override // java.lang.Thread.UncaughtExceptionHandler
        /*
            Code decompiled incorrectly, please refer to instructions dump.
        */
        public final void uncaughtException(Thread thread, Throwable th) {
            try {
                a.a().log(Level.SEVERE, String.format(Locale.ROOT, "Caught an exception in %s.  Shutting down.", thread), th);
                throw null;
            } catch (Throwable th2) {
                System.err.println(th.getMessage());
                System.err.println(th2.getMessage());
                throw null;
            }
        }
    }
}
