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.
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.