dcsimg

How can I catch exceptions thrown in secondary threads I create?

John Zukowski

You need to create the secondary threads in a custom ThreadGroup. Subclass ThreadGroup and override public void uncaughtException(Thread source, Throwable throwable). This method would then be notified when an uncaught exception is thrown.