public class NonUniqueParameterNameException extends DXPConfigurationException
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.
DXPConfiguration#generate()
,
DXPConfiguration#generate(java.util.Map, java.util.Map)
,
Serialized FormConstructor and Description |
---|
NonUniqueParameterNameException(java.lang.String message)
Creates a new NonUniqueParameterNameException.
|
NonUniqueParameterNameException(java.lang.String message,
java.lang.String parameterName)
Creates a new NonUniqueParameterNameException.
|
Modifier and Type | Method and Description |
---|---|
java.lang.String |
getParameterName()
Provides the name of the non-unique parameter.
|
getCause, getThrowable
public NonUniqueParameterNameException(java.lang.String message, java.lang.String parameterName)
message
- The exception message stringparameterName
- The name of the non-unique parameterpublic NonUniqueParameterNameException(java.lang.String message)
message
- The exception message string