Files
openide/java/java-impl/resources/inspectionDescriptions/ContinueOrBreakFromFinallyBlock.html
2025-02-05 04:43:28 +00:00

17 lines
446 B
HTML

<html>
<body>
Reports <code>break</code> or <code>continue</code> statements inside of <code>finally</code> blocks.
<p>While occasionally intended, such statements are very confusing, may mask thrown exceptions, and complicate debugging.</p>
<p><b>Example:</b></p>
<pre><code>
while (true) {
try {
throwingMethod();
} finally {
continue;
}
}
</code></pre>
<!-- tooltip end -->
</body>
</html>