9
Answers

catch blocks that don't catch anything

Sam Hobbs

Sam Hobbs

13y
1.6k
1
Is it good programming practice to make a catch block that does not catch anything? I mean something such as the folllowing:

catch(Exception ex) {}


The reason I ask is that there are some articles in this web site that do that. Is it good to show that as samples of good programming?
Answers (9)