001    //$HeadURL: svn+ssh://jwilden@svn.wald.intevation.org/deegree/base/branches/2.5_testing/src/org/deegree/model/coverage/grid/InvalidRangeException.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 {@linkplain GridRange grid range} is out of {@linkplain GridCoverage grid coverage}
017     * bounds.
018     *
019     * @UML exception GC_InvalidRange
020     * @author <A HREF="http://www.opengis.org">OpenGIS&reg; consortium</A>
021     * @version <A HREF="http://www.opengis.org/docs/01-004.pdf">Grid Coverage specification 1.0</A>
022     */
023    public class InvalidRangeException extends IllegalArgumentException {
024        /**
025         * Serial number for interoperability with different versions.
026         */
027        private static final long serialVersionUID = 3165512862939920847L;
028    
029        /**
030         * Creates an exception with no message.
031         */
032        public InvalidRangeException() {
033            super();
034        }
035    
036        /**
037         * Creates an exception with the specified message.
038         *
039         * @param message
040         *            The detail message. The detail message is saved for later retrieval by the
041         *            {@link #getMessage()} method.
042         */
043        public InvalidRangeException( String message ) {
044            super( message );
045        }
046    }