package kotlin.reflect.w.internal.y0.i;

import java.io.IOException;

/* JADX INFO: loaded from: classes2.dex */
public class j extends IOException {

    /* JADX INFO: renamed from: f, reason: collision with root package name */
    public p f8275f;

    public j(String str) {
        super(str);
        this.f8275f = null;
    }

    public static j a() {
        return new j("CodedInputStream encountered an embedded string or message which claimed to have negative size.");
    }

    public static j b() {
        return new j("Protocol message had too many levels of nesting.  May be malicious.  Use CodedInputStream.setRecursionLimit() to increase the depth limit.");
    }

    public static j d() {
        return new j("While parsing a protocol message, the input ended unexpectedly in the middle of a field.  This could mean either than the input has been truncated or that an embedded message misreported its own length.");
    }

    public j c(p pVar) {
        this.f8275f = pVar;
        return this;
    }
}
