Visual Basic and how to throw exceptions
Posted on 2013-11-08
I am recompiling vb code from vs2003 to vs2010.
One of the warnings is telling me not to "throw new exception".
so I changed it to a more specific to the situation like "throw new FormatException".
But through my research, I could see some blogs that advise you also never to use ApplicationException. would that also be because it is too general? or is there another reason why you shouldn't use that type of exception?
thanks for helping me!