Retrieve and Validate the Parameters:  Validate()

The base class from which your sub class inherits will call your Validate() sub routine to begin processing.  Overriding the Validate() sub routine provides the developer with the opportunity to retrieve parameters and perform any other validation duties for the business process.  If there is an issue with parameter retrieval or validation, then throw an exception.

In the sample below, we are using an InventoryParameters class to retrieve the name of the “output format” query view (OUTPUTVIEWID) and the Selection (IDSETID) parameters.

Figure: Overriding the Validate() Sub