///////////////////////////////////////////////////////////////////////////// // 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 ///////////////////////////////////////////////////////////////////////////// package dods.dap; /** * Thrown by <code>AttributeTable</code> when an attempt is made to create an * attribute that already exists. Creating an alias with the name of an * existing attribute will also trigger this exception. * * @version $Revision: 1.3 $ * @author jehamby * @see AttributeTable */ public class AttributeExistsException extends DASException { /** * Construct a <code>AttributeExistsException</code> with the specified * message. * * @param s the detail message. */ public AttributeExistsException(String s) { super(DODSException.MALFORMED_EXPR,s); } /** * Construct a <code>AttributeExistsException</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 AttributeExistsException(int err, String s) { super(err,s); } }