void () { //noinspection EmptyTryBlock doTest("import java.io.*;" + "class X {" + " void m() throws Exception {" + " try {" + " }catch (RuntimeException ex) {" + " YException wrapper = new YException(\"foo\");" + " wrapper.initCause(ex);" + " throw wrapper;" + " }" + " }" + " class YException extends Exception {" + " public YException(String msg) { super(msg); }" + " public YException(String msg, IOException cause) { super(msg, cause); }" + " }" + "}"); }