Try manually in the simulation, an exception is thrown, then go catch, discovery fails, and later check found that finally emerged in return, this will cause the program does not throw an exception. So, finally it is best to close the resource, return to write out finally.
try ... finally ... the failure to catch an exception
Guess you like
Origin www.cnblogs.com/codecodeandcode/p/11718460.html
Recommended
Ranking