From: Carlos Quiroz <carlos.quiroz@we...> - 2003-05-27 17:52:19
I'm in the process of updating JythonInterpreter and one of the new things is
that it can catch unhandled AWT exceptions. This is useful to debug jython
scripts that use AWT
To do that I use a trick which is to set the property
"sun.awt.exception.handler" to a class name that catch the exception. This is
not supported but it seems to work.
The only catch is that there is only one single listener for unhandled
exceptions so I wonder if this will create problems for other plugins or
A more general approach could be to have a jEdit's class that does this and
listeners can subscribe to this unhandled exceptions.