Class MissingPropertyException

  extended byjava.lang.Throwable
      extended byjava.lang.Exception
              extended byjavax.imageio.IIOException
All Implemented Interfaces:

Deprecated. Replaced by MissingMetadataException.

public class MissingPropertyException
extends PropertyException

Thrown when a property is required but can't be found. This error typically occurs when a raster is being read but the file doesn't contains enough information for constructing the raster's coordinate system.

$Id: 17672 2006-01-19 00:25:55Z desruisseaux $
Martin Desruisseaux
See Also:
Serialized Form

Constructor Summary
MissingPropertyException(java.lang.String message, PropertyParser.Key key, java.lang.String alias)
          Deprecated. Construct an exception with the specified message.
Methods inherited from class
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


public MissingPropertyException(java.lang.String message,
                                PropertyParser.Key key,
                                java.lang.String alias)
Construct an exception with the specified message. This exception is usually raised because no value was defined for the key key.

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.