Move the exception check into FDBIterationHelper.