mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-27 10:03:11 +07:00
doc
This commit is contained in:
@@ -1,14 +1,18 @@
|
||||
<html>
|
||||
<body>
|
||||
This inspection reports <b>multi-catch</b> sections, like <code>catch (IOException|RuntimeException e) {...}</code>
|
||||
This inspection reports <b>multi-catch</b> sections, like <code>try{} catch (IOException|RuntimeException e) {...}</code>
|
||||
<p> The quick fix splits multi-catch section into separate <b>catch</b> blocks.
|
||||
<!-- tooltip end -->
|
||||
<p>For example, the multi-catch section
|
||||
<pre><code>catch (IOException|RuntimeException e) {
|
||||
<pre><code>
|
||||
try{}
|
||||
catch (IOException|RuntimeException e) {
|
||||
/*handle the exception*/
|
||||
}</code></pre>
|
||||
is transformed into the following:
|
||||
<pre><code>catch (IOException e) {
|
||||
<pre><code>
|
||||
try{}
|
||||
catch (IOException e) {
|
||||
/*handle the exception*/
|
||||
}
|
||||
catch (RuntimeException e) {
|
||||
|
||||
Reference in New Issue
Block a user