001    //$HeadURL: svn+ssh://jwilden@svn.wald.intevation.org/deegree/base/branches/2.5_testing/src/org/deegree/model/coverage/grid/MetadataNameNotFoundException.java $
002    /*----------------------------------------------------------------------------
003     This file originated as a part of GeoAPI.
004    
005     GeoAPI is free software. GeoAPI may be used, modified and
006     redistributed by anyone for any purpose requring only maintaining the
007     copyright and license terms on the source code and derivative files.
008     See the OGC legal page for details.
009    
010     The copyright to the GeoAPI interfaces is held by the Open Geospatial
011     Consortium, see http://www.opengeospatial.org/ogc/legal
012    ----------------------------------------------------------------------------*/
013    package org.deegree.model.coverage.grid;
014    
015    /**
016     * Thrown when a requested metadata is not found.
017     *
018     * @UML exception CV_MetadataNameNotFound
019     * @author <A HREF="http://www.opengis.org">OpenGIS&reg; consortium</A>
020     * @version <A HREF="http://www.opengis.org/docs/01-004.pdf">Grid Coverage specification 1.0</A>
021     *
022     * @author last edited by: $Author: mschneider $
023     *
024     * @version $Revision: 20326 $, $Date: 2009-10-22 18:41:56 +0200 (Do, 22 Okt 2009) $
025     *
026     * @see org.deegree.model.coverage.SampleDimension#getMetadataValue
027     * @see org.deegree.model.coverage.Coverage#getMetadataValue
028     * @see "org.opengis.coverage.grid.GridCoverageReader#getMetadataValue"
029     * @see "org.opengis.coverage.processing.GridCoverageProcessor#getMetadataValue"
030     */
031    public class MetadataNameNotFoundException extends IllegalArgumentException {
032        /**
033         * Serial number for interoperability with different versions.
034         */
035        private static final long serialVersionUID = 3217010469714161299L;
036    
037        /**
038         * Creates an exception with no message.
039         */
040        public MetadataNameNotFoundException() {
041            super();
042        }
043    
044        /**
045         * Creates an exception with the specified message.
046         *
047         * @param message
048         *            The detail message. The detail message is saved for later retrieval by the
049         *            {@link #getMessage()} method.
050         */
051        public MetadataNameNotFoundException( String message ) {
052            super( message );
053        }
054    }