Re: [PHP] When is an Exception not an Exception?

2008-12-31 Thread Nathan Nobbe
On Wed, Dec 31, 2008 at 12:41 PM, c...@l-i-e.com wrote: We have code like this: try { $details = $this-__client-getData($email); //Line 274 } catch (SoapFault $sf) { //do stuff } catch (Exception $e) { //do more general stuff } SoapFault: No data found in C:\classes\Client.php

Re: [PHP] When is an Exception not an Exception?

2008-12-31 Thread ceo
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

Re: [PHP] When is an Exception not an Exception?

2008-12-31 Thread phphelp -- kbk
On Dec 31, 2008, at 2:12 PM, c...@l-i-e.com wrote: Sorry for the noise. Now that I know what is happening, I'm feeling silly for asking. For me, hitting the the Send button often suddenly opens my eyes. Too bad there is no un-Send button. Ken -- PHP General Mailing List

Re: [PHP] When is an Exception not an Exception?

2008-12-31 Thread Nathan Nobbe
On Wed, Dec 31, 2008 at 1:12 PM, c...@l-i-e.com wrote: 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. oic. yeah xdebug will do things like that, you may