Use of UncaughtExceptionHandler in java.

Since every thread runs in it’s own stack in java the main thread will not come to know the status of Thread started by it. Programmer can implement an interface named UncaughtExceptionHandler to get a call back from JVM if an Exception occurs in a given thread and its not handled properly. A simple implementation [...]
Continue reading…