public class ParameterNotFoundException extends IllegalArgumentException
ParameterDescriptorGroup.descriptor(java.lang.String)
,
ParameterValueGroup.parameter(java.lang.String)
,
Serialized FormConstructor 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, toString
public 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 © 1996–2019 Geotools. All rights reserved.