I want to understand exception propagation in java at thread level.
My understanding is that when ever a code throws an exception and if the method is not handling that exception then it is stored in the stack of that thread and jvm just keeps popping out method calls from stack if exception is not handled. This method will apply to both Checked and unchecked exceptions. Please correct me if i am wrong.
With above explanation i am not able to understand how are exceptions in static block handled because they will be called during class loading time.
Any ideas on this?