Should you catch System.Exception?

System.Exception is a funny class, it’s a class that on its own isn’t really that practical. In the talk that Brian Abrams talk on Framework Design Guidelines from PDC 2008 (a really interesting video) he mentions that if they could do it over again th…

System.Exception is a funny class, it's a class that on its own isn't really that practical. In the talk that Brian Abrams talk on Framework Design Guidelines from PDC 2008 (a really interesting video) he mentions that if they could do it over again they would make System.Exception an abstract class. And I completely agree. I hate nothing more than seeing code like this: throw new Exception("Something bad happened!
Print Share Comment Cite Upload Translate
CITATION GOES HERE CITATION GOES HERE
Select a language: