@Test public void messageCollection() { CompositeException compositeException = new CompositeException(ex1, ex3); assertEquals("2 exceptions occurred. ", compositeException.getMessage()); }
@Override public String getMessage() { return message; }
CompositeException extends RuntimeException { @Override public String getMessage() { return message; } }
CompositeException extends RuntimeException { @Override public String getMessage() { return message; } CompositeException(Throwable... exceptions);  CompositeException(Iterable<? extends Throwable> errors); }
CompositeException extends RuntimeException { @Override public String getMessage() { return message; } CompositeException(Throwable... exceptions);  CompositeException(Iterable<? extends Throwable> errors); List<Throwable> getExceptions(); @Override String getMessage(); @Override synchronized Throwable getCause(); @Override void printStackTrace(); @Override void printStackTrace(PrintStream s); @Override void printStackTrace(PrintWriter s); int size(); }
CompositeException extends RuntimeException { @Override public String getMessage() { return message; } CompositeException(Throwable... exceptions);  CompositeException(Iterable<? extends Throwable> errors); List<Throwable> getExceptions(); @Override String getMessage(); @Override synchronized Throwable getCause(); @Override void printStackTrace(); @Override void printStackTrace(PrintStream s); @Override void printStackTrace(PrintWriter s); int size();  }