Re: Short question: PEAR_ERROR_EXCEPTION
| From: | Martin Jansen | Date: | Sat, 21 Jul 2007 18:28:30 +0000 |
| Subject: | Re: Short question: PEAR_ERROR_EXCEPTION | ||
| References: | 1 | Groups: | php.pear.dev |
| Request: | Send a blank email to pear-dev+get-47657@lists.php.net to get a copy of this message | ||
On Sat Jul 21, 2007 at 04:3131PM +0200, Christoph Schiessl wrote:
> I'm trying to use PEAR with exceptions for error handling. However,
> the PEAR_ERROR_EXCEPTION constant is deprecated. So, what is right
> way of doing it?
Throw PEAR_Exception directly. It is defined in PEAR/Exception.php.
- Martin