View Javadoc
1   package com.puppycrawl.tools.checkstyle.checks.coding.illegalcatch;
2   
3   public class InputIllegalCatch2 {
4       public void foo() throws OneMoreException {
5           try {
6           	foo1();
7           } catch (RuntimeException | SQLException e) {}
8           try {
9           	foo1();
10          } catch (RuntimeException | SQLException | OneMoreException e) {}
11          try {
12          	foo1();
13          } catch (OneMoreException | RuntimeException | SQLException e) {}
14          try {
15          	foo1();
16          } catch (OneMoreException | SQLException | RuntimeException e) {}
17  
18      }
19      
20      private void foo1() throws RuntimeException, SQLException, OneMoreException {
21  
22      }
23  
24      private class SQLException extends Exception {
25  
26      }
27  
28      private class OneMoreException extends Exception {
29  
30      }
31  }