Handled an Exception with respect to some pages having items less than
40 and some having more than 40