package e.a;

import d.n;
import d.n0.c.s;
import java.util.List;

/* JADX INFO: compiled from: SerializationExceptions.kt */
/* JADX INFO: loaded from: classes.dex */
@n
public final class c extends i {

    /* JADX INFO: renamed from: c, reason: collision with root package name */
    private final List<String> f2747c;

    /* JADX WARN: 'super' call moved to the top of the method (can break code semantics) */
    public c(List<String> list, String str, Throwable th) {
        super(str, th);
        s.e(list, "missingFields");
        this.f2747c = list;
    }

    public final List<String> a() {
        return this.f2747c;
    }

    /* JADX WARN: Illegal instructions before constructor call */
    public c(List<String> list, String str) {
        String str2;
        s.e(list, "missingFields");
        s.e(str, "serialName");
        if (list.size() == 1) {
            str2 = "Field '" + list.get(0) + "' is required for type with serial name '" + str + "', but it was missing";
        } else {
            str2 = "Fields " + list + " are required for type with serial name '" + str + "', but they were missing";
        }
        this(list, str2, null);
    }
}
