Re: [PHP] When is an Exception not an Exception?
- From: ceo@xxxxxxxxx
- Date: 31 Dec 2008 20:12:46 -0000
I'm afraid I wasn't clear enough.
I thought the "catch" block was not actually 'catching' anything, since I'm seeing an error message with the line of code that is causing the Fault.
Turns out, XDebug is kindly splatting out the exception even though it's being caught.
Which I'm sure it desirable to many folk in dev environment.
But my colleagues' habit of using Exceptions for non-exceptional events is pretty much going to drive me crazy, like it or not.
There's probably some setting for xdebug that I need to turn off to just ignore caught Exceptions.
Hopefully it will still blow up for un-caught Exceptions...
Sorry for the noise. Now that I know what is happening, I'm feeling silly for asking.
.
- Follow-Ups:
- Re: [PHP] When is an Exception not an Exception?
- From: "Nathan Nobbe"
- Re: [PHP] When is an Exception not an Exception?
- From: phphelp -- kbk
- Re: [PHP] When is an Exception not an Exception?
- Prev by Date: Re: [PHP] When is an Exception not an Exception?
- Next by Date: Re: [PHP] When is an Exception not an Exception?
- Previous by thread: When is an Exception not an Exception?
- Next by thread: Re: [PHP] When is an Exception not an Exception?
- Index(es):
Relevant Pages
|