KickJava   Java API By Example, From Geeks To Geeks.

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


1 package com.puppycrawl.tools.checkstyle.checks.coding;
2
3 public class InputIllegalThrowsCheck {
4
5     public void method() throws NullPointerException JavaDoc
6     {
7     }
8
9     public java.lang.Throwable JavaDoc methodOne() throws RuntimeException JavaDoc
10     {
11         return null;
12     }
13
14     public void methodTwo() throws java.lang.RuntimeException JavaDoc, java.lang.Error JavaDoc
15     {
16     }
17 }
18
Popular Tags