View Javadoc
1   package com.puppycrawl.tools.checkstyle.checks.coding.illegalcatch;
2   
3   public class InputIllegalCatch {
4       public void foo() {
5           try { //class names
6           } catch (RuntimeException e) {
7           } catch (Exception e) {
8           } catch (Throwable e) {
9           }
10      }
11  
12      public void bar() {
13          try { /* fully qualified class names */
14          } catch (java.lang.RuntimeException e) {
15          } catch (java.lang.Exception e) {
16          } catch (java.lang.Throwable e) {
17          }
18      }
19  }