Package org.opengis.parameter
Class ParameterNotFoundException
- java.lang.Object
-
- java.lang.Throwable
-
- java.lang.Exception
-
- java.lang.RuntimeException
-
- java.lang.IllegalArgumentException
-
- org.opengis.parameter.ParameterNotFoundException
-
- All Implemented Interfaces:
java.io.Serializable
public class ParameterNotFoundException extends java.lang.IllegalArgumentException
Thrown byParameterValueGroup
andParameterDescriptorGroup
when a parameter is requested but not found in that group.- Since:
- 1.0
- Version:
- 3.0
- See Also:
ParameterValueGroup.parameter(String)
,ParameterDescriptorGroup.descriptor(String)
, Serialized Form
-
-
Field Summary
Fields Modifier and Type Field Description private java.lang.String
parameterName
The invalid parameter name.private static long
serialVersionUID
Serial number for interoperability with different versions.
-
Constructor Summary
Constructors Constructor Description ParameterNotFoundException(java.lang.String message, java.lang.String parameterName)
Creates an exception with the specified message and parameter name.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.String
getParameterName()
Returns the name of the parameter which was required but not found.
-
-
-
Field Detail
-
serialVersionUID
private static final long serialVersionUID
Serial number for interoperability with different versions.- See Also:
- Constant Field Values
-
parameterName
private final java.lang.String parameterName
The invalid parameter name.
-
-
Constructor Detail
-
ParameterNotFoundException
public ParameterNotFoundException(java.lang.String message, java.lang.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 theThrowable.getMessage()
method.parameterName
- The name of the parameter which was required but not found.
-
-