@UML(identifier="GC_InvalidParameterValue", specification=ISO_19111) public class InvalidParameterValueException extends IllegalArgumentException
ParameterValue.setValue(int)
,
ParameterValue.setValue(double)
,
ParameterValue.setValue(Object)
,
Serialized FormConstructor and Description |
---|
InvalidParameterValueException(String message,
String parameterName,
double value)
Creates an exception with the specified invalid value as a floating point.
|
InvalidParameterValueException(String message,
String parameterName,
int value)
Creates an exception with the specified invalid value as an integer.
|
InvalidParameterValueException(String message,
String parameterName,
Object value)
Creates an exception with the specified invalid value.
|
Modifier and Type | Method and Description |
---|---|
String |
getParameterName()
Returns the parameter name.
|
Object |
getValue()
Returns the invalid parameter value.
|
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
public InvalidParameterValueException(String message, String parameterName, Object value)
message
- The detail message. The detail message is saved for later retrieval by the
Throwable.getMessage()
method.parameterName
- The parameter name.value
- The invalid parameter value.public InvalidParameterValueException(String message, String parameterName, double value)
message
- The detail message. The detail message is saved for later retrieval by the
Throwable.getMessage()
method.parameterName
- The parameter name.value
- The invalid parameter value.public InvalidParameterValueException(String message, String parameterName, int value)
message
- The detail message. The detail message is saved for later retrieval by the
Throwable.getMessage()
method.parameterName
- The parameter name.value
- The invalid parameter value.Copyright © 1996–2019 Geotools. All rights reserved.