What is the role of an application provided uncaught exception handler in printing  the stack trace?
<p>My first question is who actually prints the prints the stack trace  ? Is it the JVM or some other entity? What happens behind the scene when stack trace is printed ? I am looking specifically for an answer that tells me the role of Uncaught exception handlers in printing the stacktrace if there is an application provided UncaughtExceptionhandler.</p>
