generators::internal0::generate() exception handling improvement.
generators::legacy0 implementation.