Inprove the exception message in JobSpecification::validateParams