All Downloads are FREE. Search and download functionalities are using the official Maven repository.

jaitools.jiffle.parser.UndefinedOptionException Maven / Gradle / Ivy

/*
 * Copyright 2011 Michael Bedward
 * 
 * This file is part of jai-tools.
 *
 * jai-tools is free software: you can redistribute it and/or modify
 * it under the terms of the GNU Lesser General Public License as
 * published by the Free Software Foundation, either version 3 of the 
 * License, or (at your option) any later version.
 *
 * jai-tools is distributed in the hope that it will be useful,
 * but WITHOUT ANY WARRANTY; without even the implied warranty of
 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
 * GNU Lesser General Public License for more details.
 *
 * You should have received a copy of the GNU Lesser General Public 
 * License along with jai-tools.  If not, see .
 * 
 */

package jaitools.jiffle.parser;

/**
 * An exception thrown by {@link OptionLookup} when the Jiffle compiler
 * is attempting to parse a call to an undefined option.
 * 
 * @author Michael Bedward
 * @since 1.1
 * @version $Id: UndefinedOptionException.java 1438 2011-02-20 03:37:24Z michael.bedward $
 */
public class UndefinedOptionException extends Exception {

    /**
     * Creates a new exception with the unrecognized option name in
     * the message.
     * 
     * @param optionName unrecognized function name
     */
    public UndefinedOptionException(String optionName) {
        super("Undefined option: " + optionName);
    }
    
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy