}
if (aggregate instanceof MultipleCauseException) {
((MultipleCauseException)aggregate).addCause(exception);
return aggregate;
}
MultipleCauseException multipleCauseException = new MultipleCauseException();
multipleCauseException.addCause(aggregate);
multipleCauseException.addCause(exception);
return multipleCauseException;
}