    001    package org.maltparser.parser;
    002
    003    import org.maltparser.core.exception.MaltChainedException;
    004
    005    /**
    006     *  ParsingException extends the MaltChainedException class and is thrown by classes
    007     *  within the parser.algorithm package.
    008     *
    009     * @author Johan Hall
    010    **/
    011    public class ParsingException extends MaltChainedException {
    012            public static final long serialVersionUID = 8045568022124816379L;
    013            /**
    014             * Creates a ParsingException object with a message
    015             *
    016             * @param message       the message
    017             */
    018            public ParsingException(String message) {
    019                    super(message);
    020            }
    021            /**
    022             * Creates a ParsingException object with a message and a cause to the exception.
    023             *
    024             * @param message       the message
    025             * @param cause         the cause to the exception
    026             */
    027            public ParsingException(String message, Throwable cause) {
    028                    super(message, cause);
    029            }
    030    }