mirror of
https://gitflic.ru/project/openide/openide.git
synced 2025-12-16 22:51:17 +07:00
17 lines
446 B
HTML
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> |