28 lines
275 B
Plaintext
Raw Normal View History

2020-06-30 12:48:07 +02:00
include::../description.adoc[]
== Noncompliant Code Example
----
try {
doSomething();
} catch (ex) { // Noncompliant
throw ex;
}
----
== Compliant Solution
----
try {
doSomething();
} catch (ex) {
console.err(ex);
throw ex;
}
----
or
2020-06-30 12:48:07 +02:00
----
doSomething();
----