RE: [PEAR-DEV] Re: DB Exceptions - Sample Code
| From: | Hundiak, Arthur | Date: | Fri, 09 Jul 2004 15:30:57 +0000 |
| Subject: | RE: [PEAR-DEV] Re: DB Exceptions - Sample Code | ||
| Groups: | php.pear.dev | ||
| Request: | Send a blank email to pear-dev+get-31799@lists.php.net to get a copy of this message | ||
Thanks. Had not realized PHP5 would automatically call the parent
constructor. I took em out.
I do think the specific exceptions should be setting their own DB_ERROR code
instead of it being passed. But I have not looked at the best way to do
this yet. PEAR_Exception plays some games with the code and I don't want to
have to duplicate it.
-----Original Message-----
From: Hans L [mailto:hans@velum.net]
Sent: Friday, July 09, 2004 10:00 AM
To: Hundiak, Arthur
Cc: pear-dev@lists.php.net
Subject: Re: [PEAR-DEV] Re: DB Exceptions - Sample Code
Arthur Hundiak wrote:
> I added a sample DB_Exception class tree to the code.
> http://www.cerad.org/pear/index.php
>
Cool -- no need to be overriding those constructors, though, right?
Signatures aren't changing.
Hans
--
PEAR Development Mailing List (http://pear.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php