deegree 2.1 (2007/11/08 09:57 build-328-official)

org.deegree.model.csct.ct
Class MissingParameterException

java.lang.Object
  extended by java.lang.Throwable
      extended by java.lang.Exception
          extended by java.lang.RuntimeException
              extended by org.deegree.model.csct.ct.MissingParameterException
All Implemented Interfaces:
Serializable

public class MissingParameterException
extends RuntimeException

Thrown when a 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:
1.0
Author:
Martin Desruisseaux
See Also:
Serialized Form

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


deegree 2.1 (2007/11/08 09:57 build-328-official)

an open source project founded by lat/lon, Bonn, Germany.
For more information visit: http://deegree.sourceforge.net