Class UnknownParameterException

All Implemented Interfaces:
Serializable

public class UnknownParameterException extends DeltaXMLException

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.

Author:
Nigel Whitaker
See Also:
  • Constructor Details

    • UnknownParameterException

      public UnknownParameterException(String message, String parameterName, String parameterContext)
      Creates a new UnknownParameterException.
      Parameters:
      message - The exception message string
      parameterName - The name of the unknown parameter
      parameterContext - The context (name of the DXP element, eg: parameter, feature) in which the missing parameter was being used.
  • Method Details

    • getUnkownParameterName

      public String getUnkownParameterName()
      Provides the name of the unknown or undeclared parameter.
      Returns:
      the name of the unknown parameter
    • getUnkownParameterContext

      public String getUnkownParameterContext()
      Provides the context in which the parameter was attempting to be used.
      Returns:
      an element name for the context