class A {A() throws Exception {}} // 1class B extends A {B() throws Exception {}} // 2class C extends A {C() {}} // 3
Standard input is empty
Main.java:3: error: unreported exception Exception; must be caught or declared to be thrown class C extends A {C() {}} // 3 ^ 1 error
Standard output is empty
The brand new service which powers Ideone!
Widget for compiling and running the source code in a web browser!