mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-27 10:03:11 +07:00
Java inspection: Renamed the inspection "Split Multi-Catch into Separate Catch Blocks" to a noun-based name - documentation improved. (IDEA-157727)
This commit is contained in:
@@ -1,7 +1,18 @@
|
||||
<html>
|
||||
<body>
|
||||
This inspection reports <b>multi-catch</b> sections.
|
||||
This inspection reports <b>multi-catch</b> sections, like <code>catch (IOException|RuntimeException e) {...}</code>
|
||||
<p> The quick fix splits multi-catch section into separate <b>catch</b> blocks.
|
||||
<br><br>
|
||||
<!-- tooltip end -->
|
||||
<p>For example, the multi-catch section
|
||||
<pre><code>catch (IOException|RuntimeException e) {
|
||||
/*handle the exception*/
|
||||
}</code></pre>
|
||||
is transformed into the following:
|
||||
<pre><code>catch (IOException e) {
|
||||
/*handle the exception*/
|
||||
}
|
||||
catch (RuntimeException e) {
|
||||
/*handle the exception*/
|
||||
}</code></pre>
|
||||
</body>
|
||||
</html>
|
||||
|
||||
Reference in New Issue
Block a user