Exceptions: How much is too much.
| From: | Craige Leeder | Date: | Fri, 05 Jan 2007 05:44:37 +0000 |
| Subject: | Exceptions: How much is too much. | ||
| Groups: | php.general | ||
| Request: | Send a blank email to php-general+get-246573@lists.php.net to get a copy of this message | ||
PHP Mailing List Listeners,
My question to you is about PHP 5's exception handling. I have looked
at it for a while, but never REALLY used it.
The question is: How much is too much. Should I use Exceptions to
handle all of my error reporting/triggering? How about catching them?
I mean, if I'm using Exceptions for all of my error handling, I could
easily end up wrapping my entire script in a try block(or at least
having almost all my end-code within a number of them).
What is your advice on this matter?
- Craige