abstract class Foo { void foo1() { } abstract void foo2() throws Exception; void foo3() { } }