You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Please show the warning message "A more specific exception should be used." as well as the "The exception should only be thrown by the CLR" only for exceptions described in the rule CA2201: Do not raise reserved exception types.
Please add an information to the rule, e.g. " (CA2201)" to the warning message to provide more information for reason of the warning.
For other non-specific exception types like e.g. WarningException please show a hint message to suggest the user to throw a more specific exception like described in CA2201.
The text was updated successfully, but these errors were encountered:
zwitbaum
changed the title
Improve analyze for "more specific exception" warning
Improve "more specific exception" and "exception should only be thrown by the CLR" warnings
Feb 3, 2016
Please show the warning message "A more specific exception should be used." as well as the "The exception should only be thrown by the CLR" only for exceptions described in the rule CA2201: Do not raise reserved exception types.
Please add an information to the rule, e.g. " (CA2201)" to the warning message to provide more information for reason of the warning.
For other non-specific exception types like e.g. WarningException please show a hint message to suggest the user to throw a more specific exception like described in CA2201.
The text was updated successfully, but these errors were encountered: