rspec/rules/S3693/csharp/rule.adoc
2021-06-02 20:44:38 +02:00

24 lines
408 B
Plaintext

include::../description.adoc[]
== Noncompliant Code Example
----
class MyException: Exception
{
public void MyException()
{
if (bad_thing)
{
throw new Exception("A bad thing happened"); // Noncompliant
}
}
}
----
ifdef::rspecator-view[]
== Comments And Links
(visible only on this page)
include::../comments-and-links.adoc[]
endif::rspecator-view[]