add Exception at excess of iteration