View Javadoc
1   package com.puppycrawl.tools.checkstyle.grammar;
2   
3   import java.io.File;
4   import java.io.IOException;
5   import java.io.InputStream;
6   
7   public class InputAstRegressionManyAlternativesInMultiCatch {
8       public static void main(String[] args) {
9           try {
10              System.out.println(args[7]);
11              File myFile = new File("myfile.txt");
12              InputStream stream = myFile.toURL().openStream();
13              foo1();
14          } catch (ArrayIndexOutOfBoundsException | IOException
15                  | SQLException | SecurityException | OneMoreException e) {
16  
17          }
18      }
19  
20      private static void foo1() throws RuntimeException, SQLException, OneMoreException {
21  
22      }
23  
24      private class SQLException extends Exception {
25  
26      }
27  
28  
29      private class OneMoreException extends Exception {
30  
31      }
32  }