KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > org > netbeans > test > java > hints > AddThrowsClause4


1 package org.netbeans.test.java.hints;
2
3 import java.io.IOException JavaDoc;
4
5 public class AddThrowsClause4 {
6     
7     public AddThrowsClause4() {
8     }
9     
10     public void test() {
11         throw exc();
12     }
13     
14     public IOException JavaDoc exc() {
15         return new IOException JavaDoc();
16     }
17 }
18
Popular Tags