1 2 3 4 5 6 7 8 9 10 11
public class PR21045 { class InnerBase { InnerBase() throws Exception, NullPointerException {} } void method() { try { InnerBase obj = new InnerBase() {}; } catch (Exception e) {} } }