Uncaught exception handlers
An Uncaught Exception Handler in Java is a mechanism that allows you to define a global or per-thread strategy for dealing with uncaught exceptions — those that are not caught within the thread’s run() method. It is part of Java’s Thread API and is particularly useful in multi-threaded environments where uncaught exceptions would otherwise silently …