Re: Exception Handling
| From: | James Colannino | Date: | Fri, 01 Jun 2012 20:24:34 +0000 |
| Subject: | Re: Exception Handling | ||
| References: | 1 2 3 4 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-318091@lists.php.net to get a copy of this message | ||
On Fri, Jun 1, 2012 at 12:51 PM, Marco Behnke <marco@behnke.biz> wrote:
Ah, I guess that is the problem. Your application framework uses namespaces.
> I guess you should try
>
> catch (\Exception $e)
>
> instead of
>
> catch (Exception $e)
>
> :-)
>
Ah, that was probably it. Will try it out tonight to confirm. Thanks!
James