throw(typ[,val[,tb]]) -> raise exception in generator,
        return next yielded value or raise StopIteration.

def throw(self, typ, val=None, tb=None):  # pylint:disable=method-hidden,invalid-name
        """
        throw(typ[,val[,tb]]) -> raise exception in generator,
        return next yielded value or raise StopIteration.
        """
        self._materialize()
        self._generator.throw(typ, val, tb)