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

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

/* JADX INFO: 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 sbM8220 = AbstractC3653.m8220(i, "Pos: ", ", limit: ");
        sbM8220.append(i2);
        sbM8220.append(", len: ");
        sbM8220.append(i3);
        super("CodedOutputStream was writing to a flat byte array and ran out of space.: ".concat(sbM8220.toString()), indexOutOfBoundsException);
    }

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