Commit graph

9 commits

Author SHA1 Message Date
Juan Basso
754c9b2c3d Updated to HttpSocket, HttpResponse and CakeSocket use SocketException. 2010-12-15 02:01:00 -02:00
mark_story
44c080d5ad Making all core classes throw CakeException subclasses, this allows developers to catch framework exceptions with one catch.
Adding package specific exceptions.
Replacing generic exceptions in the codebase with CakeException + package exceptions.
2010-12-11 19:26:10 -05:00
mark_story
6c0efb62e7 Adding a base HttpException for all the various HttpExceptions that cake provides, this should make it easier to write concise catch blocks. 2010-12-11 13:38:09 -05:00
mark_story
60ada4432a Making unknown errors with codes higher than 500 render as error500.
Test added.
2010-12-11 13:30:29 -05:00
mark_story
504b4d495f Adding stack traces to logged exceptions, as I forgot them last time around. 2010-12-11 12:47:16 -05:00
mark_story
5f47de7658 Adding @package tags.
Moving MissingModelException with the other exceptions.
2010-12-05 00:02:20 -05:00
Juan Basso
c52d5320c8 Replaced the *printf with i18n aliases by i18n aliases with params. 2010-12-04 23:37:13 -02:00
Juan Basso
aa0bad9247 Ignore errorHandler if warning suppressor (@command()) is used. 2010-12-02 01:44:31 -02:00
mark_story
284a8db3f4 Moving error handling classes into a separate directory.
Moving error handling test cases into a directory that matches the one in libs.
Updating imports.
2010-11-28 12:27:51 -05:00