Package org.axsl.hyphen

Examples of org.axsl.hyphen.HyphenationException


     * @param capacity The capacity of the item that has overflowed.
     * @see "patgen.web, line 256"
     * @throws HyphenationException Always, as that is the purpose of this method.
     */
    private void overflow(final String message, final int capacity) throws HyphenationException {
        throw new HyphenationException("PatGen capacity exceeded: " + message
                + " (" + capacity + ").");
    }
View Full Code Here


                || (so((char) PatGen.MIN_PACKED) != 0)) {
            bad = PatGen.BAD_INIT_2;
        }
        bad = checkConstantValueConsistency(bad);
        if (bad > 0) {
            throw new HyphenationException("Bad constants---case " + bad);
        }
    }
View Full Code Here

     * @throws HyphenationException Always, as that is the purpose of this method.
     * @see "patgen.web, line 1081"
     */
    private void badInput(final String error) throws HyphenationException {
        printBuf();
        throw new HyphenationException(error);
    }
View Full Code Here

            do {
                this.bufptr = this.bufptr + 1;
                this.output.print(this.buf[this.bufptr]);
            } while (! (this.bufptr == this.maxBufLen));
            this.output.printf("%c\n"' ');
            throw new HyphenationException("Bad representation");
        }
    }
View Full Code Here

TOP

Related Classes of org.axsl.hyphen.HyphenationException

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.