Class 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 Details

    • InvalidParameterNameException

      public InvalidParameterNameException(String message, String parameterName)
      Creates an exception with the specified message and parameter name.
      Parameters:
      message - the detail message, saved for later retrieval by the Throwable.getMessage() method.
      parameterName - the invalid parameter name.
    • InvalidParameterNameException

      public InvalidParameterNameException(String message, Throwable cause, String parameterName)
      Creates an exception with the specified message, cause and parameter name.
      Parameters:
      message - the detail message, saved for later retrieval by the Throwable.getMessage() method.
      cause - the cause, saved for later retrieval by the Throwable.getCause() method.
      parameterName - the invalid parameter name.
      Since:
      3.1
  • Method Details

    • getParameterName

      public String getParameterName()
      Returns the invalid parameter name.
      Returns:
      the name of the invalid parameter.