I am wondering if anyone has implemented a master error handler and if 
it is even a good idea. Since all errors raise events, couldn't I just 
build a master error handler at the application level that listens for 
those events and takes appropriate action. I figured I would pop up a 
friendly error warning, log the error and send and email via CFC if I 
can. Fatal errors should be caught in try catch logic but general non-
fatal errors can be handled this way and not interrupt usage of the 
application except for the part that errored.

Any thoughts?

Moving forward, I have tried to get general functionality working and 
I cannot get the errors events to be caught by my listeners. I think I 
may have them in the wrong scope. How would I attach a global listener 
to my application mxml and have it listen for errors bubbling up from 
components?




--
Flexcoders Mailing List
FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com 
Yahoo! Groups Links

<*> To visit your group on the web, go to:
    http://groups.yahoo.com/group/flexcoders/

<*> Your email settings:
    Individual Email | Traditional

<*> To change settings online go to:
    http://groups.yahoo.com/group/flexcoders/join
    (Yahoo! ID required)

<*> To change settings via email:
    mailto:[EMAIL PROTECTED] 
    mailto:[EMAIL PROTECTED]

<*> To unsubscribe from this group, send an email to:
    [EMAIL PROTECTED]

<*> Your use of Yahoo! Groups is subject to:
    http://docs.yahoo.com/info/terms/
 

Reply via email to