public class InvalidParameterCardinalityException extends IllegalStateException
ParameterValueGroup.values().
Note: This exception is of kind "illegal state" rather than "illegal argument" because it is not caused by a bad argument; it is rather a consequence of an parameter value group being "full".
ParameterValueGroup.values(),
GeneralParameterDescriptor.getMinimumOccurs(),
GeneralParameterDescriptor.getMaximumOccurs(),
Serialized Form| Constructor and Description |
|---|
InvalidParameterCardinalityException(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 with invalid cardinality.
|
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toStringpublic InvalidParameterCardinalityException(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 with invalid cardinality.public String getParameterName()
Copyright © 1996–2019 Geotools. All rights reserved.