001    //$HeadURL: svn+ssh://rbezema@svn.wald.intevation.org/deegree/base/tags/2.1/src/org/deegree/ogcwebservices/wms/InvalidSRSException.java $
002    /*----------------    FILE HEADER  ------------------------------------------
003     This file is part of deegree.
004     Copyright (C) 2001-2006 by:
005     Department of Geography, University of Bonn
006     http://www.giub.uni-bonn.de/deegree/
007     lat/lon GmbH
008     http://www.lat-lon.de
009     This library is free software; you can redistribute it and/or
010     modify it under the terms of the GNU Lesser General Public
011     License as published by the Free Software Foundation; either
012     version 2.1 of the License, or (at your option) any later version.
013     This library is distributed in the hope that it will be useful,
014     but WITHOUT ANY WARRANTY; without even the implied warranty of
015     MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
016     Lesser General Public License for more details.
017     You should have received a copy of the GNU Lesser General Public
018     License along with this library; if not, write to the Free Software
019     Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
020     Contact:
021     Andreas Poth
022     lat/lon GmbH
023     Aennchenstrasse 19
024     53177 Bonn
025     Germany
026     E-Mail: poth@lat-lon.de
027     Jens Fitzke
028     lat/lon GmbH
029     Aennchenstrasse 19
030     53177 Bonn
031     Germany
032     E-Mail: jens.fitzke@uni-bonn.de
033     ---------------------------------------------------------------------------*/
034    package org.deegree.ogcwebservices.wms;
035    
036    import org.deegree.ogcbase.ExceptionCode;
037    import org.deegree.ogcwebservices.InconsistentRequestException;
038    
039    /**
040     * <code>InvalidSRSException</code> is true to its name and uses the InvalidSRS exception code.
041     * 
042     * @author <a href="mailto:schmitz@lat-lon.de">Andreas Schmitz</a>
043     * @author last edited by: $Author: bezema $
044     * 
045     * @version 2.0, $Revision: 6259 $, $Date: 2007-03-20 10:15:15 +0100 (Di, 20 Mär 2007) $
046     * 
047     * @since 2.0
048     */
049    
050    public class InvalidSRSException extends InconsistentRequestException {
051    
052        private static final long serialVersionUID = -2954976910068274489L;
053    
054        /**
055         * @param message
056         */
057        public InvalidSRSException( String message ) {
058            super( message );
059            code = ExceptionCode.INVALID_SRS;
060        }
061    
062    }
063    
064    /* ********************************************************************
065     Changes to this class. What the people have been up to:
066     $Log$
067     Revision 1.3  2006/11/22 15:38:31  schmitz
068     Fixed more exception handling, especially for the GetFeatureInfo request.
069    
070    
071    
072     ********************************************************************** */