org.geotools.io.coverage
Class AmbiguousPropertyException

java.lang.Object
  extended byjava.lang.Throwable
      extended byjava.lang.Exception
          extended byjava.io.IOException
              extended byjavax.imageio.IIOException
                  extended byorg.geotools.io.coverage.PropertyException
                      extended byorg.geotools.io.coverage.AmbiguousPropertyException
All Implemented Interfaces:
java.io.Serializable

Deprecated. Replaced by AmbiguousMetadataException.

public class AmbiguousPropertyException
extends PropertyException

Thrown when one or more properties have ambiguous values. This exception is typically thrown when a property is defined twice with different values. It may also be thrown if a property can be computed from other properties, but their values are inconsistent.

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

Constructor Summary
AmbiguousPropertyException(java.lang.String message, PropertyParser.Key key, java.lang.String alias)
          Deprecated. Construct an exception with the specified message.
 
Methods inherited from class org.geotools.io.coverage.PropertyException
getPropertyAlias, getPropertyKey, toString
 
Methods inherited from class java.lang.Throwable
fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

AmbiguousPropertyException

public AmbiguousPropertyException(java.lang.String message,
                                  PropertyParser.Key key,
                                  java.lang.String alias)
Deprecated. 
Construct an exception with the specified message. This exception is usually raised because different values was found for the key key.

Parameters:
message - The message. If null, a message will be constructed from the alias.
key - The property key which was the cause for this exception, or null if none. This is a format neutral key, for example PropertyParser.DATUM.
alias - The alias used for for the key key, or null if none. This is usually the name used in the external file parsed.


Copyright © GeoTools. All Rights Reserved.