Re: Exceptions and Errors
| From: | Marcus Boerger | Date: | Thu, 15 Apr 2004 20:56:27 +0000 |
| Subject: | Re: Exceptions and Errors | ||
| References: | 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 | Groups: | php.internals |
| Request: | Send a blank email to internals+get-9227@lists.php.net to get a copy of this message | ||
Hello Jani,
Thursday, April 15, 2004, 10:49:17 PM, you wrote:
> On Thu, 15 Apr 2004, Andi Gutmans wrote:
>>Guys, I'm am not for forcing people to use exceptions.
> Marcus is.. :)
I don't. If you don't like the oo interface of SQLite then go with the
procedural API. For the way i implemented SQLite's oo API exceptions are the
way to go - a gingle exception in the ctor.
>> I agree that we should make PHP another Java exceptions from hell
>> (especially with their exception declarations in function prototypes which
>> is horrible). I'm just
> I hope you meant "..that we should NOT make.."..
>>saying, that some extensions might benefit from exceptions and the
>>extension author should be allowed to choose (as long as he doesn't break BC).
> And in case of SQLite, you still can (should work?) use the procedural
> API and not worry about exceptions.
Exactly!
> (exception makes the rule? :)
> --Jani
--
Best regards,
Marcus mailto:helly@php.net