15
Answers

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

Ask a question
Glenn Patton

Glenn Patton

12y
1.4k
1
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)