code: private void multiExecute(Statement... statements) throws Throwable {
          List<Throwable> exceptions = new ArrayList<Throwable>();
          for (Statement command : statements) {
              try {
                  command.evaluate();
              } catch (Throwable e) {
                  exceptions.add(e);
              }
          }
          if (exceptions.isEmpty()) {
              return;
          }
          if (exceptions.size() == 1) {
              throw exceptions.get(0);
          }
          throw new MultipleFailureException(exceptions);
      }
docs: A helper to safely execute multiple statements in one.<br/>
  <p>
  Will execute all statements even if they fail, all exceptions will be kept. If multiple {@link Statement}s
  fail, a {@link MultipleFailureException} will be thrown.
  
  @author <a href="mailto:aslak@redhat.com">Aslak Knutsen</a>
  @version $Revision: $