public IterativeTask(IteratorHandler handler) { if (handler == null) throw new ArgumentNullException ("handler"); this.handler = handler; }