interface A { void foo() throws T; void bar() throws Exception; void baz() throws Exception; } interface B extends A { void foo() throws T; void bar() throws Throwable; void baz() throws Throwable; }