package androidx.media3.exoplayer.source;

import java.io.IOException;

/* JADX INFO: loaded from: classes3.dex */
public final class ClippingMediaSource$IllegalClippingException extends IOException {
    public ClippingMediaSource$IllegalClippingException(int i) {
        this(-9223372036854775807L, i, -9223372036854775807L);
    }

    /* JADX WARN: Illegal instructions before constructor call */
    public ClippingMediaSource$IllegalClippingException(long j, int i, long j2) {
        String str;
        if (i != 0) {
            if (i == 1) {
                str = "not seekable to start";
            } else if (i != 2) {
                str = "unknown";
            } else {
                ᵻᵪ.ˌᴵ((j == -9223372036854775807L || j2 == -9223372036854775807L) ? false : true);
                str = "start exceeds end. Start time: " + j + ", End time: " + j2;
            }
        } else {
            str = "invalid period count";
        }
        super("Illegal clipping: ".concat(str));
    }
}
