org.geotools.ct
Class MissingParameterException

java.lang.Object
  extended byjava.lang.Throwable
      extended byjava.lang.Exception
          extended byorg.opengis.referencing.FactoryException
              extended byorg.geotools.ct.MissingParameterException
All Implemented Interfaces:
java.io.Serializable

Deprecated. Replaced by ParameterNotFoundException.

public class MissingParameterException
extends org.opengis.referencing.FactoryException

Thrown when a required parameter was missing. For example, this exception may be thrown when a map projection was requested but the "semi_major" parameter was not specified.

Version:
$Id: MissingParameterException.java 17672 2006-01-19 00:25:55Z desruisseaux $
Author:
Martin Desruisseaux
See Also:
Projection.getValue(java.lang.String), Serialized Form

Constructor Summary
MissingParameterException(java.lang.String msg, java.lang.String parameter)
          Deprecated. Constructs an exception with the specified detail message.
 
Method Summary
 java.lang.String getMissingParameterName()
          Deprecated. Returns the missing parameter name.
 
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

MissingParameterException

public MissingParameterException(java.lang.String msg,
                                 java.lang.String parameter)
Deprecated. 
Constructs an exception with the specified detail message.

Parameters:
msg - the detail message, or null to construct a default message from the missing parameter name.
parameter - The missing parameter name.
Method Detail

getMissingParameterName

public java.lang.String getMissingParameterName()
Deprecated. 
Returns the missing parameter name.



Copyright © GeoTools. All Rights Reserved.