Re: PHP5: PEAR base Exception classes
| From: | Chuck Hagenbuch | Date: | Sat, 19 Jun 2004 00:26:25 +0000 |
| Subject: | Re: PHP5: PEAR base Exception classes | ||
| References: | 1 2 3 4 5 6 | Groups: | php.pear.dev |
| Request: | Send a blank email to pear-dev+get-31033@lists.php.net to get a copy of this message | ||
Quoting Tobias Schlitt <tobias@schlitt.info>:
The main benefit is, that people can simple catch all PEAR_Exceptions, if they like to. I know, that this is not the goal of exceptions, but there may be places to do things like that.How is this different from just catching all Exceptions? (catch Exception e) -chuck -- "Regard my poor demoralized mule!" - Juan Valdez