There isn't currently a global exception handler. However, pretty much
everything in a Pivot app happens in response to an event being fired
(mouse move, key press, etc.) . The application context is responsible
for passing these events on to the application and could potentially
wrap the application calls in a try/catch block. It could further
allow the application developer to register a global exception handler
that would be called in the case of an exception being thrown.
However, I have to wonder if the JVM or Java Plugin already has a
mechanism for handling this. Anyone else know?
Greg
On Feb 28, 2009, at 5:30 AM, Christopher Brind wrote:
Hi,
Having been watching this Flex bug for some time, I was wondering
how Pivot
deals with this?
http://bugs.adobe.com/jira/browse/FP-444
i.e. is there a global exception handler?
Seems like a show stopper for some Flex users and Sliverlight has a
global
OnError handler, so I feel it is something Pivot should either support
explicitly, or document how users can handle global/uncaught
errors/exceptions.
I guess at the moment, the exception log would just appear in the
applet's
console via STDOUT/STDERR? Is that enough?
Cheers,
Chris