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