Added exception on page number.