org.deegree.model.csct.ct
Class MissingParameterException
java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
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
Methods inherited from class java.lang.Throwable |
fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString |
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.
getMissingParameterName
public String getMissingParameterName()
- Returns the missing parameter name.
an open source project founded by lat/lon, Bonn, Germany.
For more information visit: http://deegree.sourceforge.net