Package com.deltaxml.core.exceptions
Class NonUniqueParameterNameException
java.lang.Object
java.lang.Throwable
java.lang.Exception
com.deltaxml.core.exceptions.DeltaXMLException
com.deltaxml.core.exceptions.NonUniqueParameterNameException
- All Implemented Interfaces:
Serializable
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 Summary
ConstructorsConstructorDescriptionNonUniqueParameterNameException(String message) Creates a new NonUniqueParameterNameException.NonUniqueParameterNameException(String message, String parameterName) Creates a new NonUniqueParameterNameException. -
Method Summary
Modifier and TypeMethodDescriptionProvides the name of the non-unique parameter.Methods inherited from class com.deltaxml.core.exceptions.DeltaXMLException
getCause, getThrowableMethods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
Constructor Details
-
NonUniqueParameterNameException
Creates a new NonUniqueParameterNameException.- Parameters:
message- The exception message stringparameterName- The name of the non-unique parameter
-
NonUniqueParameterNameException
Creates a new NonUniqueParameterNameException.- Parameters:
message- The exception message string
-
-
Method Details
-
getParameterName
Provides the name of the non-unique parameter.- Returns:
- the non-unique name if available, null otherwise
-