10 lines
279 B
Plaintext
10 lines
279 B
Plaintext
=== Noncompliant code example
|
|
|
|
[source,text]
|
|
----
|
|
throw 42; // Noncompliant
|
|
throw "Invalid negative index."; // Noncompliant
|
|
throw std::string("Permission denied"); // Noncompliant
|
|
throw nullptr; // Noncompliant
|
|
----
|