///////////////////////////////////////////////////////////////////////////// // Copyright (c) 1998, California Institute of Technology. // ALL RIGHTS RESERVED. U.S. Government Sponsorship acknowledged. // // Please read the full copyright notice in the file COPYRIGHT // in this directory. // // Author: Jake Hamby, NASA/Jet Propulsion Laboratory // Jake.Hamby@jpl.nasa.gov ///////////////////////////////////////////////////////////////////////////// // $Log: not supported by cvs2svn $ // Revision 1.2 2001/02/04 01:44:48 ndp // Cleaned up javadoc errors // // Revision 1.1 1999/10/20 21:42:34 ndp // *** empty log message *** // // Revision 1.6 1999/09/24 23:17:58 ndp // Added new constructors to all Exception classes // // Revision 1.5 1999/09/24 21:59:23 ndp // Reorged Exceptions. Code compiles. // // Revision 1.4 1999/09/16 21:22:52 ndp // *** empty log message *** // // Revision 1.3 1999/08/20 22:59:43 jimg // Changed the package declaration to dods.dap.Server so that it matches the // directory name. // package dods.dap.Server; import dods.dap.DODSException; /** * Used to indicate that one of the passed parameters to a method * is either the wrong type, is missing, or it's value is * unacceptable. * * @version $Revision: 1.3 $ * @author ndp */ public class InvalidParameterException extends SDODSException { /** * Construct a <code>InvalidParameterException</code> with the specified * detail message. * * @param s the detail message. */ public InvalidParameterException(String s) { super(DODSException.MALFORMED_EXPR,"Invalid Parameter Exception: " + s); } /** * Construct a <code>InvalidParameterException</code> with the specified * message and DODS error code (see <code>DODSException</code>). * * @param err the DODS error code. * @param s the detail message. */ public InvalidParameterException(int err, String s) { super(err,s); } }