Sam Hobbs

Sam Hobbs

  • 51
  • 29.3k
  • 2.1m

catch blocks that don't catch anything

Apr 1 2011 6:15 PM
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)