System.out.println("Exp task added: " + format(expTask)); expandTask(expTask);
try { checkTaskValid(expTask); System.out.println("Exp task added: " + format(expTask)); expandTask(expTask); } catch (RuntimeException re) { System.err.println("handleExpTasksAdded: " + re); failTask(expTask); }
    private void handleExpTasksAdded(Enumeration tasks) {        while (tasks.hasMoreElements()) {            Task expTask = (Task) tasks.nextElement();            System.out.println("Exp task added: " + format(expTask));            expandTask(expTask);        }    }