class C { void foo () throws T {} void bar () { foo (); } void goo() { try { int i = 12; } catch (T ex) { } } } //IDEADEV-4169: no problem here interface Blub { public void Switch() throws E; } class Blib implements Blub { public void Switch() throws E { } }