@Test public void test() { String str = toString(new IllegalStateException("test")); List<ExceptionDetails> list = Exceptions.fullParse(str); assertEquals(1, list.size()); ExceptionDetails details = list.get(0); assertEquals(IllegalStateException.class.getName(), details.getTypeName()); assertEquals("test", details.getMessage()); }
public static List<ExceptionDetails> fullParse(String str) { Parser parser = new Parser(); for (String line : lineSplitter.split(str)) { try { parser.process(line); } catch (ParseException e) { logger.error(e.getMessage()); return new ArrayList<>(); } } return parser.getDetails(); }
Exceptions { public static List<ExceptionDetails> fullParse(String str) { Parser parser = new Parser(); for (String line : lineSplitter.split(str)) { try { parser.process(line); } catch (ParseException e) { logger.error(e.getMessage()); return new ArrayList<>(); } } return parser.getDetails(); } }
Exceptions { public static List<ExceptionDetails> fullParse(String str) { Parser parser = new Parser(); for (String line : lineSplitter.split(str)) { try { parser.process(line); } catch (ParseException e) { logger.error(e.getMessage()); return new ArrayList<>(); } } return parser.getDetails(); }  }
Exceptions { public static List<ExceptionDetails> fullParse(String str) { Parser parser = new Parser(); for (String line : lineSplitter.split(str)) { try { parser.process(line); } catch (ParseException e) { logger.error(e.getMessage()); return new ArrayList<>(); } } return parser.getDetails(); }  static List<ExceptionDetails> minimalParse(String str); static List<ExceptionDetails> fullParse(String str); }
Exceptions { public static List<ExceptionDetails> fullParse(String str) { Parser parser = new Parser(); for (String line : lineSplitter.split(str)) { try { parser.process(line); } catch (ParseException e) { logger.error(e.getMessage()); return new ArrayList<>(); } } return parser.getDetails(); }  static List<ExceptionDetails> minimalParse(String str); static List<ExceptionDetails> fullParse(String str);  }