KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > test > OverrideTypedException


1 package test;
2 import java.io.IOException JavaDoc;
3
4 public class OverrideTypedException<T extends Throwable JavaDoc> {
5     
6     public void test() throws T {
7         
8     }
9     
10     public static class Test1 extends OverrideTypedException<IOException JavaDoc> {
11         
12     }
13     
14     public static class Test2<E extends RuntimeException JavaDoc> extends OverrideTypedException<E> {
15         
16     }
17     
18 }
19
Popular Tags