org.geotoolkit.metadata.UnmodifiableMetadataException Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of geotk-metadata Show documentation
Show all versions of geotk-metadata Show documentation
Implementations of metadata derived from ISO 19115. This module provides both an implementation
of the metadata interfaces defined in GeoAPI, and a framework for handling those metadata through
Java reflection.
/*
* Geotoolkit.org - An Open Source Java GIS Toolkit
* http://www.geotoolkit.org
*
* (C) 2007-2011, Open Source Geospatial Foundation (OSGeo)
* (C) 2009-2011, Geomatys
*
* This library is free software; you can redistribute it and/or
* modify it under the terms of the GNU Lesser General Public
* License as published by the Free Software Foundation;
* version 2.1 of the License.
*
* This library is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
* Lesser General Public License for more details.
*/
package org.geotoolkit.metadata;
/**
* Thrown when a setter method is invoked on a {@linkplain org.geotoolkit.metadata.iso.MetadataEntity
* metadata entity}, but this entity was declared unmodifiable.
*
* @author Martin Desruisseaux (Geomatys)
* @version 3.00
*
* @since 2.4
* @module
*/
public class UnmodifiableMetadataException extends UnsupportedOperationException {
/**
* For cross-version compatibility.
*/
private static final long serialVersionUID = -1885135341334523675L;
/**
* Creates a new exception with the specified detail message.
*
* @param message The detail message.
*/
public UnmodifiableMetadataException(final String message) {
super(message);
}
}