My project got like 20 unhandled exceptions, doesn't matter why, and I was wondering how do they affect the JVM? It doesn't crash, but I'm still wondering what are their footprint in JVM. Where do they go?
All exception are handled either by your code or by the "uncaught exception handler" The only way to avoid handling an exception is to return from a finally block or exiting the program.
An unhandled exception/error will result in the end of the running thread. However it this is acceptable response, there is no reason this needs to upset your application.
One problem with Exceptions is they have some overhead and if you create excessive numbers of them it can hurt performance.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With