package u0;

import d5.AbstractC0844a;
import java.io.IOException;

/* JADX INFO: loaded from: classes.dex */
public class F extends IOException {

    /* JADX INFO: renamed from: q, reason: collision with root package name */
    public final boolean f17154q;

    /* JADX INFO: renamed from: r, reason: collision with root package name */
    public final int f17155r;

    public F(String str, RuntimeException runtimeException, boolean z8, int i) {
        super(str, runtimeException);
        this.f17154q = z8;
        this.f17155r = i;
    }

    public static F a(RuntimeException runtimeException, String str) {
        return new F(str, runtimeException, true, 1);
    }

    public static F b(String str) {
        return new F(str, null, true, 4);
    }

    public static F c(String str) {
        return new F(str, null, false, 1);
    }

    @Override // java.lang.Throwable
    public final String getMessage() {
        String message = super.getMessage();
        StringBuilder sb = new StringBuilder();
        sb.append(message != null ? message.concat(" ") : "");
        sb.append("{contentIsMalformed=");
        sb.append(this.f17154q);
        sb.append(", dataType=");
        return AbstractC0844a.n(sb, this.f17155r, "}");
    }
}
