01: package test;
02:
03: import java.io.IOException;
04:
05: public class OverrideTypedException<T extends Throwable> {
06:
07: public void test() throws T {
08:
09: }
10:
11: public static class Test1 extends
12: OverrideTypedException<IOException> {
13:
14: }
15:
16: public static class Test2<E extends RuntimeException> extends
17: OverrideTypedException<E> {
18:
19: }
20:
21: }
|