Make IterationProvider safer, add exception info.

@bug W-2363409@

@rev eric.anderson@
Merging origin/goliver/master-pending-error-reporting into master