TICS Coding Standard Viewer 
TIOBE Software Quality Framework
Print-friendly version
©TIOBE Software www.tiobe.com
 
C# Coding Standard
Search

Rule:  8@103

This rule is Obsolete
Synopsis:Only re-throw exceptions when you want to specialize the exception
Language:C#
Severity Level:3
Category:Exceptions


Description:

Only catch and re-throw exceptions if you want to add additional information and/or change the type of the exception into a more specific exception. In the latter case, set the InnerException property of the new exception to the caught exception.