package com.google.ads.interactivemedia.v3.internal;

import com.google.android.gms.measurement.internal.u1;
import java.lang.reflect.Constructor;
import java.lang.reflect.InvocationTargetException;

/* JADX INFO: loaded from: classes2.dex */
final class zzxk implements zzya {
    final /* synthetic */ Constructor zza;

    public zzxk(Constructor constructor) {
        this.zza = constructor;
    }

    @Override // com.google.ads.interactivemedia.v3.internal.zzya
    public final Object zza() {
        try {
            return this.zza.newInstance(new Object[0]);
        } catch (IllegalAccessException e10) {
            throw zzabp.zzb(e10);
        } catch (InstantiationException e11) {
            throw new RuntimeException(u1.k("Failed to invoke constructor '", zzabp.zzc(this.zza), "' with no args"), e11);
        } catch (InvocationTargetException e12) {
            throw new RuntimeException(u1.k("Failed to invoke constructor '", zzabp.zzc(this.zza), "' with no args"), e12.getCause());
        }
    }
}
