Corrected ParameterValidation.

The Variable passed into the Throw Error for the ParameterValidation was
incrrorect and the message was not readable.