throw exception if job is null or empty >