Question: how jvm handle an exception?
Answer: setting up the JVM.
loading required classes.
running static initializer blocks. This can execute user-defined code before main is invoked. These blocks aren't supposed to throw exceptions.