void () { doStatementTest(""" try { System.out.println("hello"); } /*Unexpected VM exception like 'java.lang.NullPointerException' might be ignored in a 'catch' block*/catch/**/(Exception ex) { if("foo".equals(ex.getMessage())) { // report some exception ignoring others ex.printStackTrace(); } } \ """); }