org.opengis.parameter
Class ParameterNotFoundException
Object
Throwable
Exception
RuntimeException
IllegalArgumentException
ParameterNotFoundException
- All Implemented Interfaces:
- Serializable
public class ParameterNotFoundException
- extends IllegalArgumentException
Thrown when a required parameter was not found in a
parameter group.
- Since:
- GeoAPI 1.0
- See Also:
ParameterDescriptorGroup.descriptor(java.lang.String)
,
ParameterValueGroup.parameter(java.lang.String)
,
Serialized Form
Methods inherited from class Throwable |
fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString |
ParameterNotFoundException
public ParameterNotFoundException(String message,
String parameterName)
- Creates an exception with the specified message and parameter name.
- Parameters:
message
- The detail message. The detail message is saved for
later retrieval by the Throwable.getMessage()
method.parameterName
- The required parameter name.
getParameterName
public String getParameterName()
- Returns the required parameter name.
Copyright © 1994-2008 Open Geospatial Consortium. All Rights Reserved.