diff --git a/plugins/InspectionGadgets/src/inspectionDescriptions/MultiCatchCanBeSplit.html b/plugins/InspectionGadgets/src/inspectionDescriptions/MultiCatchCanBeSplit.html index 79db054c69d6..097f7920ca6d 100644 --- a/plugins/InspectionGadgets/src/inspectionDescriptions/MultiCatchCanBeSplit.html +++ b/plugins/InspectionGadgets/src/inspectionDescriptions/MultiCatchCanBeSplit.html @@ -1,14 +1,18 @@ -This inspection reports multi-catch sections, like catch (IOException|RuntimeException e) {...} +This inspection reports multi-catch sections, like try{} catch (IOException|RuntimeException e) {...}

The quick fix splits multi-catch section into separate catch blocks.

For example, the multi-catch section -

catch (IOException|RuntimeException e) {
+

+try{}
+catch (IOException|RuntimeException e) {
   /*handle the exception*/
 }
is transformed into the following: -
catch (IOException e) {
+

+try{}
+catch (IOException e) {
   /*handle the exception*/
 }
 catch (RuntimeException e) {