[flexcoders] Re: basic exception handling

2007-02-07 Thread dantmcgowan
Peter, Clint, Thanks. One last question: so in the event handler do I have any access to the exception that was raised (for trace purposes)? Dan --- In flexcoders@yahoogroups.com, Peter Farland [EMAIL PROTECTED] wrote: Right, the requests made by HTTPService are asynchronous... so you have

Re: [flexcoders] Re: basic exception handling

2007-02-07 Thread Clint Tredway
yes, a faultEvent is passed which has the info in it. I dont have the exact syntax at the moment. On 2/7/07, dantmcgowan [EMAIL PROTECTED] wrote: Peter, Clint, Thanks. One last question: so in the event handler do I have any access to the exception that was raised (for trace purposes)? Dan

[flexcoders] Re: basic exception handling

2007-02-07 Thread dantmcgowan
Got to the error in the event handler. Just to wrap this up, here is the code for those interested: mx:HTTPService id=simpleService url=http://example.com/someservice/; useProxy=false method=GET fault=onServiceError(event) and here is the event handler for the fault: import