rspec/rules/S112/noncompliant.adoc

9 lines
184 B
Plaintext
Raw Normal View History

2020-06-30 10:16:44 +02:00
== Noncompliant Code Example
2022-02-04 17:28:24 +01:00
[source,text]
2020-06-30 10:16:44 +02:00
----
public void foo(String bar) throws Throwable { // Noncompliant
throw new RuntimeException("My Message"); // Noncompliant
}
----