implement an error message if Parameter is not one of the possible values
implement an error message if Parameter is not one of the possible values