package com.google.android.gms.internal.pal;

import java.io.IOException;

/* JADX INFO: loaded from: classes2.dex */
public class zzadi extends IOException {
    private z0 zza;

    public zzadi(IOException iOException) {
        super(iOException.getMessage(), iOException);
        this.zza = null;
    }

    public static zzadh a() {
        return new zzadh("Protocol message tag had invalid wire type.");
    }

    public static zzadi b() {
        return new zzadi("Protocol message had invalid UTF-8.");
    }

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

    public static zzadi d() {
        return new zzadi("Failed to parse the message.");
    }

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

    public final void e(z0 z0Var) {
        this.zza = z0Var;
    }

    public zzadi(String str) {
        super(str);
        this.zza = null;
    }
}
