View Javadoc
1   package com.puppycrawl.tools.checkstyle.checks.design.throwscount;
2   
3   import java.awt.AWTException;
4   import java.io.EOFException;
5   import java.io.FileNotFoundException;
6   import java.sql.SQLException;
7   
8   public class InputThrowsCount {
9       void method1() throws Exception
10      {
11      }
12  
13      void methdo2() throws java.awt.AWTException
14      {
15      }
16  
17      void method3() throws Exception, AWTException, SQLException,
18              FileNotFoundException, EOFException
19      {
20      }
21  
22      void method4() throws Exception, java.awt.AWTException, java.sql.SQLException,
23              java.io.FileNotFoundException, java.io.EOFException
24      {
25      }
26  
27      void method5() throws Exception, AWTException, Throwable, SQLException,
28              FileNotFoundException, EOFException
29      {
30      }
31  
32      void method6() {
33      }
34      
35      private void method7() throws Exception, AWTException, SQLException,
36              FileNotFoundException, EOFException {
37      }
38  }
39  
40  class SubClass extends InputThrowsCount {
41      @Override
42      void method1() {        
43      }
44  
45      @Deprecated
46      @Override
47      void method4() throws Exception, java.awt.AWTException {
48      }
49  
50      @Override
51      void method5() throws Exception, AWTException, Throwable {
52      }
53      
54      @SuppressWarnings("deprecation")
55      final void method2(Object ...objects) throws Exception, AWTException, SQLException,
56              FileNotFoundException, EOFException{
57      }
58      
59      @java.lang.Override
60      void method3() throws Exception {
61      }
62  }