Re: Exceptions and Errors
| From: | John Coggeshall | Date: | Mon, 12 Apr 2004 05:41:32 +0000 |
| Subject: | Re: Exceptions and Errors | ||
| References: | 1 2 | Groups: | php.internals |
| Request: | Send a blank email to internals+get-9050@lists.php.net to get a copy of this message | ||
On Mon, 2004-04-12 at 01:27, Adam Maccabee Trachtenberg wrote:
> 1) None (almost none?) of the internal classes use exceptions. This
> makes it difficult (if not impossible) to explain how to use
> exceptions because you cannot show a meaningful example.
As of today, Tidy throws Exceptions in a object context.
> It's really crazy to need to mix both types of error handling within
> the same block of code.
Completely agree
--
-=~=--=~=--=~=--=~=--=~=--=~=--=~=--=~=--=~=--=~=--=~=--=~=-
John Coggeshall http://www.coggeshall.org/
The PHP Developer's Handbook http://www.php-handbook.com/
-=~=--=~=--=~=--=~=--=~=--=~=--=~=--=~=--=~=--=~=--=~=--=~=-