package L0;

import java.io.IOException;
import x0.AbstractC1709a;

/* JADX INFO: renamed from: L0.g, reason: case insensitive filesystem */
/* JADX INFO: loaded from: classes.dex */
public final class C0152g extends IOException {
    public C0152g(int i) {
        this(i, -9223372036854775807L, -9223372036854775807L);
    }

    public C0152g(int i, long j8, long j9) {
        String str;
        StringBuilder sb = new StringBuilder("Illegal clipping: ");
        if (i != 0) {
            if (i == 1) {
                str = "not seekable to start";
            } else if (i != 2) {
                str = "unknown";
            } else {
                AbstractC1709a.j((j8 == -9223372036854775807L || j9 == -9223372036854775807L) ? false : true);
                str = "start exceeds end. Start time: " + j8 + ", End time: " + j9;
            }
        } else {
            str = "invalid period count";
        }
        sb.append(str);
        super(sb.toString());
    }
}
