package com.google.crypto.tink.shaded.protobuf;

import defpackage.AbstractC1327;
import java.io.IOException;
import java.util.Locale;

/* loaded from: classes3.dex */
public class CodedOutputStream$OutOfSpaceException extends IOException {
    /* JADX WARN: Illegal instructions before constructor call */
    public CodedOutputStream$OutOfSpaceException(int i, int i2, int i3, IndexOutOfBoundsException indexOutOfBoundsException) {
        Locale locale = Locale.US;
        StringBuilder sbM4110 = AbstractC1327.m4110(i, "Pos: ", ", limit: ");
        sbM4110.append(i2);
        sbM4110.append(", len: ");
        sbM4110.append(i3);
        super("CodedOutputStream was writing to a flat byte array and ran out of space.: ".concat(sbM4110.toString()), indexOutOfBoundsException);
    }

    public CodedOutputStream$OutOfSpaceException(IndexOutOfBoundsException indexOutOfBoundsException) {
        super("CodedOutputStream was writing to a flat byte array and ran out of space.", indexOutOfBoundsException);
    }
}
