org.geotools.coverage
Class OrdinateOutsideCoverageException

java.lang.Object
  extended byjava.lang.Throwable
      extended byjava.lang.Exception
          extended byjava.lang.RuntimeException
              extended byorg.opengis.coverage.CannotEvaluateException
                  extended byorg.opengis.coverage.PointOutsideCoverageException
                      extended byorg.geotools.coverage.OrdinateOutsideCoverageException
All Implemented Interfaces:
java.io.Serializable

public class OrdinateOutsideCoverageException
extends org.opengis.coverage.PointOutsideCoverageException

Thrown when an method method is invoked with a point outside coverage. This subclass of exception is used when the dimension of the out-of-bounds ordinate is known.

Since:
2.1
Version:
$Id: OrdinateOutsideCoverageException.java 17672 2006-01-19 00:25:55Z desruisseaux $
Author:
Martin Desruisseaux
See Also:
Serialized Form

Constructor Summary
OrdinateOutsideCoverageException(java.lang.String message, int dimension)
          Creates an exception with the specified message.
 
Method Summary
 int getOutOfBoundsDimension()
          Returns the dimension of the out-of-bounds ordinate.
 
Methods inherited from class java.lang.Throwable
fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

OrdinateOutsideCoverageException

public OrdinateOutsideCoverageException(java.lang.String message,
                                        int dimension)
Creates an exception with the specified message.

Parameters:
message - The detail message. The detail message is saved for later retrieval by the Throwable.getMessage() method.
dimension - The dimension of the out-of-bounds ordinate.
Method Detail

getOutOfBoundsDimension

public int getOutOfBoundsDimension()
Returns the dimension of the out-of-bounds ordinate.



Copyright © GeoTools. All Rights Reserved.