Class NonUniqueParameterNameException

All Implemented Interfaces:
Serializable

public class NonUniqueParameterNameException extends DeltaXMLException

Thrown when the DXP pipelineParameter names are not unique.

The use of Maps in this class ensures that the parameter names used in the two different categories (string and boolean) of pipeline parameters are unique. However it is still possible that the same name be used for a string parameter and a boolean parameter. This exception signals this condition and reports the non-unique name.

Author:
Nigel Whitaker
See Also:
  • Constructor Details

    • NonUniqueParameterNameException

      public NonUniqueParameterNameException(String message, String parameterName)
      Creates a new NonUniqueParameterNameException.
      Parameters:
      message - The exception message string
      parameterName - The name of the non-unique parameter
    • NonUniqueParameterNameException

      public NonUniqueParameterNameException(String message)
      Creates a new NonUniqueParameterNameException.
      Parameters:
      message - The exception message string
  • Method Details

    • getParameterName

      public String getParameterName()
      Provides the name of the non-unique parameter.
      Returns:
      the non-unique name if available, null otherwise