    001    package org.maltparser.core.feature;
    002
    003    import org.maltparser.core.exception.MaltChainedException;
    004
    005    /**
    006     *  FeatureException extends the MaltChainedException class and is thrown by classes
    007     *  within the feature package.
    008     *
    009     * @author Johan Hall
    010    **/
    011    public class FeatureException extends MaltChainedException {
    012            public static final long serialVersionUID = 8045568022124816379L;
    013            /**
    014             * Creates a FeatureException object with a message
    015             *
    016             * @param message       the message
    017             */
    018            public FeatureException(String message) {
    019                    super(message);
    020            }
    021            /**
    022             * Creates a FeatureException 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 FeatureException(String message, Throwable cause) {
    028                    super(message, cause);
    029            }
    030    }