class ChangeSignatureTest { void foo() throws Exception { } void bar() throws Exception { foo(); } { try { bar(); } catch (Exception e) { e.printStackTrace(); //To change body of catch statement use File | Settings | File Templates. } } } class Derived extends ChangeSignatureTest { void bar () throws Exception { super.bar(); } }