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 { throwsTwo(); } private static synchronized void throwsTwo() throws IOException, AWTException { ; } }
Unhandled exception type AWTException