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

Rule:  8@204Checked automatically with code checker

This rule is Obsolete
Synopsis:Do not throw an exception from inside an exception constructor
Language:C#
Severity Level:1
Category:Exceptions


Description:

Throwing an exception from inside an exception's constructor will stop the construction of the exception being built, and hence, preventing the exception from getting thrown. The other exception is thrown, but this can be confusing to the user of the class or method concerned.