{
try {
throw new CompoundException("message", null);
} catch (CompoundException e) {
try {
PrintStream nullStream = new PrintStream(new NullOutputStream());
e.printStackTrace(nullStream);
e.printStackTrace(new PrintWriter(nullStream));
} catch (Exception e1) {
fail("Exception during printStackTrace for CompoundException with no inner exception");
}