I am. I've got a method that fills my dataset. The fill is in a try block.
But the thing is, I make the connection to my database depending on a registry key that my app writes or updates.
I'm testing it with a bad key, so I should get an error when filling the dataset. I do get an error, but when it does, my catch block is supposed to notify the user and have the user edit the key.
It even goes as far is if I do
catch(Exception e)
{ /*code here*/}
telling me that the variable e is never used. Any ideas?
The IDE tells me there was an unhandled SQL Exception and wants me to debug.