package androidx.work;

import defpackage.pm8;

/* JADX INFO: loaded from: classes.dex */
class h implements Runnable {
    public final /* synthetic */ pm8 a;
    public final /* synthetic */ Worker b;

    public h(Worker worker, pm8 pm8Var) {
        this.b = worker;
        this.a = pm8Var;
    }

    @Override // java.lang.Runnable
    public final void run() {
        try {
            this.b.getClass();
            throw new IllegalStateException("Expedited WorkRequests require a Worker to provide an implementation for \n `getForegroundInfo()`");
        } catch (Throwable th) {
            this.a.i(th);
        }
    }
}
