+ 1
How we can prevent execution of finally block in exception?
3 Antworten
+ 5
You just don't add a finally block, it's optional.
+ 2
some time it might happens if due to JVM crash down while executing code
+ 2
Why though, you want to avoid the finally block? the finally block is the block for "clean-up" after a mistake, if I'm not mistaken?