Inprove the exception message in JobSpecification::validateParams

Change-Id: Ifcaa5e89e6b5dd4d89ca26203400082bff6fd85a