package F7;

import java.io.IOException;
import java.lang.reflect.Method;

/* JADX INFO: loaded from: classes.dex */
public final class D extends b0 {

    /* JADX INFO: renamed from: d, reason: collision with root package name */
    public final Method f2595d;

    /* JADX INFO: renamed from: e, reason: collision with root package name */
    public final int f2596e;

    /* JADX INFO: renamed from: f, reason: collision with root package name */
    public final InterfaceC0130n f2597f;

    public D(Method method, int i, InterfaceC0130n interfaceC0130n) {
        this.f2595d = method;
        this.f2596e = i;
        this.f2597f = interfaceC0130n;
    }

    @Override // F7.b0
    public final void a(P p3, Object obj) {
        Method method = this.f2595d;
        int i = this.f2596e;
        if (obj == null) {
            throw b0.o(method, i, "Body parameter value must not be null.", new Object[0]);
        }
        try {
            p3.f2640k = (k7.A) this.f2597f.o(obj);
        } catch (IOException e8) {
            throw b0.p(method, e8, i, "Unable to convert " + obj + " to RequestBody", new Object[0]);
        }
    }
}
