GeneratorFunctionExpectedException constructor

GeneratorFunctionExpectedException()