Re: PHP5: PEAR base Exception classes
| From: | Tobias Schlitt | Date: | Mon, 21 Jun 2004 22:02:57 +0000 |
| Subject: | Re: PHP5: PEAR base Exception classes | ||
| References: | 1 2 3 4 5 6 7 | Groups: | php.pear.dev |
| Request: | Send a blank email to pear-dev+get-31065@lists.php.net to get a copy of this message | ||
Hi Chuck Hagenbuch!
On 06/19/04 02:26 you wrote:
The main benefit is, that people can simple catch all PEAR_Exceptions, if they like to. I know, that this is not the goal of exceptions, but there may be places to do things like that.
How is this different from just catching all Exceptions? (catch Exception e)If you have own exceptions inside the code throwen, you might want to handle them in another way. Regards, Toby -- Tobias Schlitt GPG Key: 0xA6529579 a passion for php http://www.schlitt.info Like to say "thank you"? - http://pear.php.net/wishlist.php/toby