KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > com > puppycrawl > tools > checkstyle > checks > coding > InputIllegalCatchCheck


1 package com.puppycrawl.tools.checkstyle.checks.coding;
2
3 public class InputIllegalCatchCheck {
4     public void foo() {
5         try {
6         } catch (RuntimeException JavaDoc e) {
7         } catch (Exception JavaDoc e) {
8         } catch (Throwable JavaDoc e) {
9         }
10     }
11
12     public void bar() {
13         try {
14         } catch (java.lang.RuntimeException JavaDoc e) {
15         } catch (java.lang.Exception JavaDoc e) {
16         } catch (java.lang.Throwable JavaDoc e) {
17         }
18     }
19 }
20
Popular Tags