Gentlemen,
is there a way to register an uncaught exception handler with Jambi?
I registered my own handler with the JVM using
Thread.setDefaultUncaughtExceptionHandler(...), however Jambi exceptions
like
"Exception caught after invoking slot:
java.util.concurrent.ExecutionException: QObject used from outside its own
thread"
are not passed on to the default JVM handler.
With Swing this is the same thing, however one can set a system property
with
System.setProperty("sun.awt.exception.handler",
EDTErrorHandler.class.getName());
to register a special handler class.
I would like my application to inform the user and shut down gracefully in
case of any uncaught exceptions (which works with Swing), what is the
preferred way of doing this with Jambi?
Thanks a lot for making this great framework available!
Cheers,
Mathias
_______________________________________________
Qt-jambi-interest mailing list
[email protected]
http://lists.trolltech.com/mailman/listinfo/qt-jambi-interest