All Downloads are FREE. Search and download functionalities are using the official Maven repository.

org.opengis.coverage.grid.InvalidRangeException Maven / Gradle / Ivy

There is a newer version: 24.2-oss84-1
Show newest version
/*
 *    GeoTools - The Open Source Java GIS Toolkit
 *    http://geotools.org
 *
 *    (C) 2011, Open Source Geospatial Foundation (OSGeo)
 *    (C) 2005 Open Geospatial Consortium Inc.
 *
 *    All Rights Reserved. http://www.opengis.org/legal/
 */
package org.opengis.coverage.grid;

import static org.opengis.annotation.Specification.*;

import org.opengis.annotation.UML;

/**
 * Thrown when a {@linkplain GridRange grid range} is out of {@linkplain GridCoverage grid coverage}
 * bounds.
 *
 * @version Grid Coverage specification 1.0
 * @author Martin Desruisseaux (IRD)
 * @since GeoAPI 1.0
 */
@UML(identifier = "GC_InvalidRange", specification = OGC_01004)
public class InvalidRangeException extends IllegalArgumentException {
    /** Serial number for interoperability with different versions. */
    private static final long serialVersionUID = 3165512862939920847L;

    /** Creates an exception with no message. */
    public InvalidRangeException() {
        super();
    }

    /**
     * Creates an exception with the specified message.
     *
     * @param message The detail message. The detail message is saved for later retrieval by the
     *     {@link #getMessage()} method.
     */
    public InvalidRangeException(String message) {
        super(message);
    }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy