package p; import java.io.IOException; public class Bar { void foo() throws IOException { } }