org.deegree_impl.model.ct
Class MissingParameterException

java.lang.Object
  extended byjava.lang.Throwable
      extended byjava.lang.Exception
          extended byjava.lang.RuntimeException
              extended byorg.deegree_impl.model.ct.MissingParameterException
All Implemented Interfaces:
java.io.Serializable

public class MissingParameterException
extends java.lang.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

Field Summary
private  java.lang.String parameter
          The missing parameter name.
private static long serialVersionUID
          Serial number for interoperability with different versions.
 
Fields inherited from class java.lang.Throwable
 
Constructor Summary
MissingParameterException(java.lang.String msg, java.lang.String parameter)
          Constructs an exception with the specified detail message.
 
Method Summary
 java.lang.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
 

Field Detail

serialVersionUID

private static final long serialVersionUID
Serial number for interoperability with different versions.

See Also:
Constant Field Values

parameter

private final java.lang.String parameter
The missing parameter name.

Constructor Detail

MissingParameterException

public MissingParameterException(java.lang.String msg,
                                 java.lang.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 java.lang.String getMissingParameterName()
Returns the missing parameter name.