is checking if a file object exists redudent and bad style when you have a try, catch block?

后端 未结 0 1289
一个人的身影
一个人的身影 2021-01-30 08:08

Is it overly redundant and considered bad style to check that the file object exists before a try catch. Since the FileNotFoundException would be called anyways if the file obje

相关标签:
回答
  • 消灭零回复
提交回复
热议问题