Interviews5 answers
what happens when an exception raise in Final block ?
5 Answers
That exception propagates out and up, and will (can) be handled at a higher level.
Your finally block will not be completed beyond the point where the exception is thrown.
If the finally block was executing during the handling of an earlier exception then that first exception is lost.
Suresh KumarPosted Oct 28, 2017, 7:14 AM EDT
If exception occurs in finally block.
It will be raised, program will terminate and will not execute further.
Tushar DikshitPosted Sep 29, 2017, 4:07 AM EDT
it will immediatly comes into catch block
Soniya PatelPosted Sep 4, 2017, 10:35 PM EDT
Statement not executed in final block
Mukesh KumarPosted Sep 2, 2017, 3:01 AM EDT
This exception will be handled at higher level and execution will not be proceeded in final block
Sreekanth VangaraPosted Jan 25, 2017, 2:10 AM EST



