Re: Re: PHP5: PEAR base Exception classes
| From: | Greg Beaver | Date: | Thu, 01 Jul 2004 18:19:20 +0000 |
| Subject: | Re: Re: PHP5: PEAR base Exception classes | ||
| References: | 1 2 | Groups: | php.pear.dev |
| Request: | Send a blank email to pear-dev+get-31460@lists.php.net to get a copy of this message | ||
Clay Loveless wrote:
Have you guys looked at PEAR_ErrorStack? It has the capability to specify an exception class to be thrown -- seems like anything like a collection of exception types should extend PEAR_ErrorStack in some way.No need to extend, PEAR_ErrorStack can simply be used. You just pass in the exception class name as a string to the constructor or the singleton.