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…


This content originally appeared on Posts on LINQ to Fail and was authored by Posts on LINQ to Fail

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!


This content originally appeared on Posts on LINQ to Fail and was authored by Posts on LINQ to Fail


Print Share Comment Cite Upload Translate
APA
Posts on LINQ to Fail | Sciencx (2022-12-09T04:43:20+00:00) » Should you catch System.Exception?. Retrieved from https://www.scien.cx/2008/12/18/should-you-catch-system-exception/.
MLA
" » Should you catch System.Exception?." Posts on LINQ to Fail | Sciencx - Thursday December 18, 2008, https://www.scien.cx/2008/12/18/should-you-catch-system-exception/
HARVARD
Posts on LINQ to Fail | Sciencx Thursday December 18, 2008 » Should you catch System.Exception?., viewed 2022-12-09T04:43:20+00:00,<https://www.scien.cx/2008/12/18/should-you-catch-system-exception/>
VANCOUVER
Posts on LINQ to Fail | Sciencx - » Should you catch System.Exception?. [Internet]. [Accessed 2022-12-09T04:43:20+00:00]. Available from: https://www.scien.cx/2008/12/18/should-you-catch-system-exception/
CHICAGO
" » Should you catch System.Exception?." Posts on LINQ to Fail | Sciencx - Accessed 2022-12-09T04:43:20+00:00. https://www.scien.cx/2008/12/18/should-you-catch-system-exception/
IEEE
" » Should you catch System.Exception?." Posts on LINQ to Fail | Sciencx [Online]. Available: https://www.scien.cx/2008/12/18/should-you-catch-system-exception/. [Accessed: 2022-12-09T04:43:20+00:00]
rf:citation
» Should you catch System.Exception? | Posts on LINQ to Fail | Sciencx | https://www.scien.cx/2008/12/18/should-you-catch-system-exception/ | 2022-12-09T04:43:20+00:00
https://github.com/addpipe/simple-recorderjs-demo