Package org.opengis.parameter
Class InvalidParameterNameException
java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
java.lang.IllegalArgumentException
org.opengis.parameter.InvalidParameterNameException
- All Implemented Interfaces:
Serializable
@UML(identifier="GC_InvalidParameterName",
specification=OGC_01004)
public class InvalidParameterNameException
extends IllegalArgumentException
Thrown when an unexpected parameter was found in a
parameter group.
- Since:
- 1.0
- Version:
- 3.0
- See Also:
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate final String
The invalid parameter name.private static final long
Serial number for inter-operability with different versions. -
Constructor Summary
ConstructorsConstructorDescriptionInvalidParameterNameException
(String message, String parameterName) Creates an exception with the specified message and parameter name. -
Method Summary
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
Field Details
-
serialVersionUID
private static final long serialVersionUIDSerial number for inter-operability with different versions.- See Also:
-
parameterName
The invalid parameter name.
-
-
Constructor Details
-
InvalidParameterNameException
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 invalid parameter name.
-
-
Method Details
-
getParameterName
Returns the invalid parameter name.- Returns:
- The name of the invalid parameter.
-