What happens if both catch and finally blocks throw exception?

前端 未结 5 609
谎友^
谎友^ 2020-12-13 18:26

What happens if both catch and finally blocks throw exception?

5条回答
  •  悲&欢浪女
    2020-12-13 19:03

    Its already been answered well by adrianbanks, but the following post should be interesting: Interesting Exception Results: Throwing Exceptions From the Finally Block

提交回复
热议问题