Generator::throw

Throw an exception into the generator

Description

public void Generator::throw ( Exception $exception )

Parameters

exception

Return Values

Returns the yielded value.