KickJava   Java API By Example, From Geeks To Geeks.

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


1 package org.netbeans.test.java.hints;
2
3 import java.io.IOException JavaDoc;
4
5 public class AddThrowsClause3 {
6     
7     public AddThrowsClause3() {
8     }
9     
10     public void test() {
11         throw (IOException JavaDoc) new IOException JavaDoc().initCause(null);
12     }
13 }
14
Popular Tags