Object
Throwable
Exception
RuntimeException
IllegalArgumentException
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.
For example, this exception may be thrown at construction time if the same parameter name is used twice.
- Since:
- 1.0
- See Also:
-
Constructor Summary
ConstructorsConstructorDescriptionInvalidParameterNameException(String message, String parameterName) Creates an exception with the specified message and parameter name.InvalidParameterNameException(String message, Throwable cause, String parameterName) Creates an exception with the specified message, cause 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
-
Constructor Details
-
InvalidParameterNameException
Creates an exception with the specified message and parameter name.- Parameters:
message- the detail message, saved for later retrieval by theThrowable.getMessage()method.parameterName- the invalid parameter name.
-
InvalidParameterNameException
Creates an exception with the specified message, cause and parameter name.- Parameters:
message- the detail message, saved for later retrieval by theThrowable.getMessage()method.cause- the cause, saved for later retrieval by theThrowable.getCause()method.parameterName- the invalid parameter name.- Since:
- 3.1
-
-
Method Details
-
getParameterName
Returns the invalid parameter name.- Returns:
- the name of the invalid parameter.
-