How do I configure a default handler for exceptions that happen in all threads?
Created May 8, 2012
John Zukowski The setDefaultUncaughtExceptionHandler() method of Thread, introduced in JDK 5.0, allows you to configure this behavior by letting you attach an implementation of Thread.UncaughtExceptionHandler.