cakephp/cakephp — pull request #1051 by ADmad (2012-12-27 11:15:07+00:00)
Title: Throw exception if requested page number is out of range.

Refs [#3459](http://cakephp.lighthouseapp.com/projects/42648/tickets/3489-paginatorcomponent-problem), [#2929](http://cakephp.lighthouseapp.com/projects/42648/tickets/2929-paginatorhelpernumbers-output-out-of-range-numbers9)