Java / Exception
Does a finally block always run in Java?
If the JVM exits while the try or catch code is being executed, then the finally block may not execute. System.exit cause the finally block to not execute.
If the thread executing the try or catch code is interrupted or killed, the finally block may not execute even though the application as a whole continues.
More Related questions...