import java.io.IOException; public class Foo { void m() { doAct().try } void doAct() throws IOException {} }