public class ParameterNotFoundException extends IllegalArgumentException
ParameterValueGroup and ParameterDescriptorGroup
when a parameter is requested but not found in that group.ParameterValueGroup.parameter(String),
ParameterDescriptorGroup.descriptor(String),
Serialized FormDeparture from OGC/ISO specification:
This exception is not part of OGC specification.
| Constructor and Description |
|---|
ParameterNotFoundException(String message,
String parameterName)
Creates an exception with the specified message and parameter name.
|
| Modifier and Type | Method and Description |
|---|---|
String |
getParameterName()
Returns the name of the parameter which was required but not found.
|
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toStringpublic ParameterNotFoundException(String message, String parameterName)
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.public String getParameterName()
Copyright © 1994–2019 Open Geospatial Consortium. All rights reserved.