public class P { public P() throws Exception { } } class PP extends P { public PP() throws Exception { super(); } }