import java.awt.AWTException; import java.io.IOException; public class MainClass { public static void main(String[] argv) { System.out.println(); } public void throwsOne() throws IOException { ; } private static synchronized void throwsTwo() throws IOException, AWTException { ; } }