Catch exceptions thrown from slots

Exceptions thrown from slots, if not caught within the slots themselves, must be caught in QApplication::notify(). Derive a subclass of QApplication, override QApplication::notify() to catch all known exceptions that are thrown, and present the text of the exception in a QMessageBox.