bundles/org.tukani.xz/src/org/tukaani/xz/LZMA2Options.java
public void setLcLp(int lc, int lp) throws UnsupportedOptionsException {
        if (lc < 0 || lp < 0 || lc > LC_LP_MAX || lp > LC_LP_MAX
                || lc + lp > LC_LP_MAX)
            throw new UnsupportedOptionsException(
                    "lc + lp must not exceed " + LC_LP_MAX + ": "
                    + lc + " + " + lp);

        this.lc = lc;
        this.lp = lp;
    }
public void setLcLp(int lc, int lp) throws UnsupportedOptionsException {
        if (lc < 0 || lp < 0 || lc > LC_LP_MAX || lp > LC_LP_MAX
                || lc + lp > LC_LP_MAX)
            throw new UnsupportedOptionsException(
                    "lc + lp must not exceed " + LC_LP_MAX + ": "
                    + lc + " + " + lp);

        this.lc = lc;
        this.lp = lp;
    }
Sets the number of literal context bits and literal position bits.
<p>
The sum of <code>lc</code> and <code>lp</code> is limited to 4.
Trying to exceed it will throw an exception. This function lets
you change both at the same time.

@throws      UnsupportedOptionsException
<code>lc</code> and <code>lp</code>
are invalid