Package org.geotools.api.parameter
Class ParameterNotFoundException
Object
Throwable
Exception
RuntimeException
IllegalArgumentException
ParameterNotFoundException
- All Implemented Interfaces:
Serializable
Thrown when a required parameter was not found in a parameter group.
- Since:
- GeoAPI 1.0
- Author:
- Martin Desruisseaux (IRD)
- See Also:
-
Constructor Summary
ConstructorsConstructorDescriptionParameterNotFoundException
(String message, String parameterName) Creates an exception with the specified message and parameter name. -
Method Summary
Modifier and TypeMethodDescriptionReturns the name of the parameter which was required but not found.Methods inherited from class Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
Constructor Details
-
ParameterNotFoundException
Creates an exception with the specified message and parameter name.- Parameters:
message
- The detail message. The detail message is saved for later retrieval by theThrowable.getMessage()
method.parameterName
- The name of the parameter which was required but not found.
-
-
Method Details
-
getParameterName
Returns the name of the parameter which was required but not found.- Returns:
- The required parameter name.
-