public class UnknownParameterException extends DXPConfigurationException
Thrown when an attempt was made to reference an unknown or undeclared DXP parameter.
It is possible to use a parameter name which has not been declared in the DXP pipelineParameters section. This exception reports that name and the context in which it was being incorrectly used.
DXPConfiguration#generate()
,
DXPConfiguration#generate(java.util.Map, java.util.Map)
,
Serialized FormConstructor and Description |
---|
UnknownParameterException(java.lang.String message,
java.lang.String parameterName,
java.lang.String parameterContext)
Creates a new UnknownParameterException.
|
Modifier and Type | Method and Description |
---|---|
java.lang.String |
getUnkownParameterContext()
Provides the context in which the parameter was attempting to be used.
|
java.lang.String |
getUnkownParameterName()
Provides the name of the unknown or undeclared parameter.
|
getCause, getThrowable
public UnknownParameterException(java.lang.String message, java.lang.String parameterName, java.lang.String parameterContext)
message
- The exception message stringparameterName
- The name of the unknown parameterparameterContext
- The context (name of the DXP element, eg: parameter, feature) in which the missing parameter was
being used.public java.lang.String getUnkownParameterName()
public java.lang.String getUnkownParameterContext()