override from multiple interfaces with throws lists: intersect throws lists

This commit is contained in:
Anna Kozlova
2013-06-25 20:15:27 +04:00
parent 6c3d6d2caa
commit 59af6284bd
5 changed files with 53 additions and 11 deletions
@@ -0,0 +1,16 @@
import java.io.*;
interface A {
void close() throws Exception;
}
interface B {
void close() throws IOException;
}
interface C<T extends Exception> {
void close() throws T;
}
interface AB extends A, C, B {
<caret>
}