Good topic, I have neglected using exceptions in my app because I wasn't sure how to make it work with cake. Does cake itself throw any exceptions I could catch in my code or do I have to throw them myself?
-flosky Elte Hupkes <[email protected]> schrieb: I personally put my exceptions in ([plugin-if-any])/Lib/Error/ Exception/NameOfTheException.php and use App::uses('NameOfTheException', 'Error/Exception') where they're needed. Seemed like a Cake'ish way to do it, and they're not included unless one is actually thrown. Another approach would be to include an exceptions.php file in bootstrap like you said. On Oct 12, 2:54 am, Lucho Molina <[email protected]> wrote: > Oh... and the file would be where? in the lib folder? -- Our newest site for the community: CakePHP Video Tutorials http://tv.cakephp.org Check out the new CakePHP Questions site http://ask.cakephp.org and help others with their CakePHP related questions. To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/cake-php -- Our newest site for the community: CakePHP Video Tutorials http://tv.cakephp.org Check out the new CakePHP Questions site http://ask.cakephp.org and help others with their CakePHP related questions. To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/cake-php
