@Test public void testMultiRuntimeException() { List<Throwable> list = new ArrayList<Throwable>(); list.add(new RuntimeException("This is test exception 1")); list.add(new RuntimeException("This is test exception 2")); MultiRuntimeException mre = MultiRuntimeException.get(list); Assert.assertNotNull(mre.getMessage()); }
private MultiRuntimeException(String message, Throwable firstSource) { super(message, firstSource); }
MultiRuntimeException extends RuntimeException { private MultiRuntimeException(String message, Throwable firstSource) { super(message, firstSource); } }
MultiRuntimeException extends RuntimeException { private MultiRuntimeException(String message, Throwable firstSource) { super(message, firstSource); } private  MultiRuntimeException(String message, Throwable firstSource); }
MultiRuntimeException extends RuntimeException { private MultiRuntimeException(String message, Throwable firstSource) { super(message, firstSource); } private  MultiRuntimeException(String message, Throwable firstSource); static MultiRuntimeException get(Collection<Throwable> sources); }
MultiRuntimeException extends RuntimeException { private MultiRuntimeException(String message, Throwable firstSource) { super(message, firstSource); } private  MultiRuntimeException(String message, Throwable firstSource); static MultiRuntimeException get(Collection<Throwable> sources);  }