Make IterationProvider safer, add exception info.

@bug W-2363409@

@rev eric.anderson@
Merging origin/goliver/master-pending-iteration-checks into master