org.opengis.parameter
Class ParameterNotFoundException
Object
Throwable
Exception
RuntimeException
IllegalArgumentException
ParameterNotFoundException
- All Implemented Interfaces:
- Serializable
public class ParameterNotFoundException
- extends IllegalArgumentException
Thrown by ParameterValueGroup and ParameterDescriptorGroup
when a parameter is requested but not found in that group.
- Since:
- 1.0
- See Also:
ParameterValueGroup.parameter(String),
ParameterDescriptorGroup.descriptor(String),
Serialized FormDeparture from OGC/ISO specification:
This exception is not part of OGC specification.
| 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 name of the parameter which was required but not found.
getParameterName
public String getParameterName()
- Returns the name of the parameter which was required but not found.
- Returns:
- The required parameter name.
Copyright © 1994-2011 Open Geospatial Consortium. All Rights Reserved.