001/*
002 *   ParameterException  -- Exception thrown when there is a problem with parameterization.
003 *
004 *   Copyright (C) 2016-2017, by Joseph A. Huwaldt.
005 *   All rights reserved.
006 *   
007 *   This library is free software; you can redistribute it and/or
008 *   modify it under the terms of the GNU Lesser General Public
009 *   License as published by the Free Software Foundation; either
010 *   version 2 of the License, or (at your option) any later version.
011 *   
012 *   This library is distributed in the hope that it will be useful,
013 *   but WITHOUT ANY WARRANTY; without even the implied warranty of
014 *   MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
015 *   Library General Public License for more details.
016 *
017 *  You should have received a copy of the GNU Lesser General Public License
018 *  along with this program; if not, write to the Free Software
019 *  Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA  02111-1307, USA.
020 *  Or visit:  http://www.gnu.org/licenses/lgpl.html
021 */
022package geomss.geom;
023
024/**
025 * Exception thrown when a parameter value does not match expectations.
026 * 
027 * <p> Modified by: Joseph A. Huwaldt </p>
028 * 
029 * @author Joseph A. Huwaldt, Date: August 27, 2016
030 * @version January 31, 2017
031 */
032public class ParameterException extends RuntimeException {
033
034    private static final long serialVersionUID = 1L;
035    
036    /**
037     * Constructs an exception with no detail message.
038     */
039    public ParameterException() {
040        
041    }
042    
043    /**
044     * Constructs an exception with the specified message.
045     *
046     * @param message the error message.
047     */
048    public ParameterException(String message) {
049        super(message);
050    }
051}