So, what if there can be thrown 6 or 7 different exception in a try- block and you don't want to handle all the same, but there's a forward with an sfStopException. Tell me how to implement that without typing 6-7 catch-blocks.
On Jul 6, 10:37 pm, Steve Lianoglou <[EMAIL PROTECTED]> wrote: > > same here, I've encountered problems while trying to save data into > > the database and catch Propel/Doctrine exceptions, but with forwarding > > on success (in the try-block). > > Shouldn't this not really be an issue as long as you don't catch > "generic" exceptions (ie, steer clear from "catch (Exception $e) ...)? > > And isn't having "catch all" exceptions generally bad form? > > If both of these are true, then you'd think by some application of > Modes Ponens, all's actually well in the world. :-) > > -steve --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "symfony users" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/symfony-users?hl=en -~----------~----~----~----~------~----~------~--~---
