Removed constant available only in php 5.3 and changed exception type to fix errors on php 5.2. Fixes #2487
Removed constant available only in php 5.3 and changed exception type to fix errors on php 5.2. Fixes #2487

ionas/cakephp,burriko/cakephp,berrygoudswaard/cakephp,gmponos/cakephp,jerems02/cakephp,ionas/cakephp,eryw/cakephp,bravo-kernel/cakephp,jeffblack360/cakephp,Phillaf/cakephp,web-player/cakephp,jjj117/cakephp,kumamidori/cakephp,dakota/cakephp,cakephp/cakephp,erikfig/cakephp,thinkingmedia/cakephp,CakeDC/cakephp,HavokInspiration/cakephp,ADmad/cakephp,ndm2/cakephp,gmponos/cakephp,et304383/passbolt_api,jjj117/cakephp,tgr0ss/cakephp,dkarvounaris/cakephp,timhoeppner/cakephp,davidyell/cakephp,Balachan27/cakephp,thinkingmedia/cakephp,petteyg/cakephp,cakephp-fr/cakephp,ndm2/cakephp,ndm2/cakephp,tisu2tisu/cakephp,justinyost/cakephp,pbaire/cakephp,ionas/cakephp,Phillaf/cakephp,jeffblack360/cakephp,pbaire/cakephp,CVO-Technologies/cakephp,ndm2/cakephp,Phillaf/cakephp,et304383/passbolt_api,cakephp/cakephp,web-player/cakephp,erikfig/cakephp,mvdriel/cakephp,web-player/cakephp,dakota/cakephp,thinkingmedia/cakephp,pbaire/cakephp,nrother/cakephp,CakeDC/cakephp,cakephp/cakephp,elboletaire/cakephp,justinyost/cakephp,eryw/cakephp,adopico/cakephp,yinhe007/cakephp,khoimt/cakephp-study,yinhe007/cakephp,HavokInspiration/cakephp,jerems02/cakephp,dakota/cakephp,Balachan27/cakephp,mvdriel/cakephp,michaelze/cakephp,cakephp-fr/cakephp,berrygoudswaard/cakephp,et304383/passbolt_api,kumamidori/cakephp,jjj117/cakephp,dkarvounaris/cakephp,erikfig/cakephp,elboletaire/cakephp,tenkoma/cakephp,tenkoma/cakephp,et304383/passbolt_api,michaelze/cakephp,adopico/cakephp,eboominathan/cakephp,dakota/cakephp,nrother/cakephp,cakephp-fr/cakephp,tgr0ss/cakephp,jerems02/cakephp,akintoey/cakephp,mvdriel/cakephp,berrygoudswaard/cakephp,adopico/cakephp,burriko/cakephp,eboominathan/cakephp,CVO-Technologies/cakephp,jeffblack360/cakephp,yinhe007/cakephp,davidyell/cakephp,khoimt/cakephp-study,gmponos/cakephp,khoimt/cakephp-study,timhoeppner/cakephp,mvdriel/cakephp,ADmad/cakephp,michaelze/cakephp,tenkoma/cakephp,CakeDC/cakephp,eboominathan/cakephp,elboletaire/cakephp,CakeDC/cakephp,ADmad/cakephp,burriko/cakephp,et304383/passbolt_api,HavokInspiration/cakephp,bravo-kernel/cakephp,tenkoma/cakephp,tisu2tisu/cakephp,justinyost/cakephp,petteyg/cakephp,garethellis36/cakephp,tisu2tisu/cakephp,akintoey/cakephp,garethellis36/cakephp,garethellis36/cakephp,garethellis36/cakephp,davidyell/cakephp,cakephp/cakephp,akintoey/cakephp,tgr0ss/cakephp,bravo-kernel/cakephp,dkarvounaris/cakephp,eryw/cakephp,petteyg/cakephp,timhoeppner/cakephp,CVO-Technologies/cakephp,Balachan27/cakephp,nrother/cakephp,petteyg/cakephp,kumamidori/cakephp,ADmad/cakephp