Glenn Patton

Glenn Patton

  • NA
  • 308
  • 82.3k

What are the dangers of try...catch when Catch loop is empty?

Mar 7 2012 12:03 PM
Hi All,

I have been bomb proofing a bit code today, I have found the try catch statement does it nicely I did have the catch loop as below to tell me something had blown up and I could then track down what had pooped and sort it as below: 
catch
{
MessageBox.Show("ERROR");

but investigation led nowhere so I commented out the MessageBox and problem solved or masked over? I will run it on a different PC to see if this has cured the fault, if it has how?

Glenn


Answers (15)