import java.io.*; interface A { void close() throws Exception; } interface B { void close() throws IOException; } interface C { void close() throws T; } interface AB extends A, C, B { }