import java.io.*; public class testKJC { static public void main(String args[]) { } static { Object base = null; try { base = new Launcher1(); } catch (NoSuchMethodException exc) { System.out.println("caught"); } } private static class Launcher1 { public Launcher1() throws NoSuchMethodException { } } }