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

Rule:  8@202Checked automatically with code checker

This rule is Obsolete
Synopsis:Provide common constructors for custom exceptions
Language:C#
Severity Level:5
Category:Exceptions


Description:

It is advised to provide the three common constructors that all standard exceptions provide as well. These include:

  • XxxException()
  • XxxException(string message)
  • XxxException(string message, Exception innerException)