ExtraCmdLnArgumentException.java Source Code

  • ExtraCmdLnArgumentException Javadoc
    /*
     * Copyright (C) 2002-2011 Stephen Ostermiller
     * http://ostermiller.org/contact.pl?regarding=Java+Utilities
     *
     * This program is free software; you can redistribute it and/or modify
     * it under the terms of the GNU General Public License as published by
     * the Free Software Foundation; either version 2 of the License, or
     * (at your option) any later version.
     *
     * This program 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 General Public License for more details.
     *
     * See LICENSE.txt for details.
     */
    package com.Ostermiller.util;
    
    /**
     * Exception thrown when a command line option is missing an argument
     */
    public class ExtraCmdLnArgumentException extends CmdLnArgumentException
    {
    	/**
    	 * serial version id
    	 */
    	private static final long serialVersionUID = -8552921685243918697L;
    
    	/**
    	 * Construct a new exception.
    	 */
    	ExtraCmdLnArgumentException() {
    		super("Option does not take an argument");
    	}
    
    }