Re: Mail_IMAP 2.0.0 alpha 1
| From: | Hans_L | Date: | Tue, 06 Jul 2004 15:34:18 +0000 |
| Subject: | Re: Mail_IMAP 2.0.0 alpha 1 | ||
| References: | 1 2 | Groups: | php.pear.dev |
| Request: | Send a blank email to pear-dev+get-31653@lists.php.net to get a copy of this message | ||
Stephan Schmidt wrote:
Where are these threads on internals where people are saying you shouldn't use exceptions for errors? (People keep referring to them on this list, please post a link so that the rest of us can read these discussions too.) Obviously you shouldn't abuse exceptions, but that's just as true of return-code base error handling (or anything else, for that matter). HansThinking about having Exceptions raising everywhere sounds like my next biggest nightmare in PEAR ;-)The same things have been discussed on internals, raising an exception in every case where a function does not do what you expect can lead to troubles...