package io.netty.util;

import g.a.a.a.a;

/* JADX INFO: loaded from: classes.dex */
public class IllegalReferenceCountException extends IllegalStateException {
    private static final long serialVersionUID = -2507492394288153468L;

    public IllegalReferenceCountException() {
    }

    public IllegalReferenceCountException(int i2) {
        this(a.l("refCnt: ", i2));
    }

    public IllegalReferenceCountException(int i2, int i3) {
        StringBuilder sbG = a.G("refCnt: ", i2, ", ");
        StringBuilder sb = new StringBuilder();
        if (i3 > 0) {
            sb.append("increment: ");
        } else {
            sb.append("decrement: ");
            i3 = -i3;
        }
        sb.append(i3);
        sbG.append(sb.toString());
        this(sbG.toString());
    }

    public IllegalReferenceCountException(String str) {
        super(str);
    }

    public IllegalReferenceCountException(String str, Throwable th) {
        super(str, th);
    }

    public IllegalReferenceCountException(Throwable th) {
        super(th);
    }
}
