View Javadoc
1   package com.puppycrawl.tools.checkstyle.checks.coding.illegalthrows;
2   /** Input file */
3   public class InputIllegalThrows {
4   
5       public void method() throws NullPointerException
6       { // no code
7       }
8   
9       public java.lang.Throwable methodOne() throws RuntimeException
10      {
11          return null;
12      }
13  
14      public void methodTwo() throws java.lang.RuntimeException, java.lang.Error
15      {
16      }
17  
18      public void finalize() throws Throwable {
19  
20      }
21  }