//problem.debug("Failure during execution of goal '" + goal.getName()+"'");
throw new Failure();
}
catch (Exception e) {
String msg = "Unexpected exception during execution of goal '" + goal.getName()+"'";
problem.log(msg);
problem.log(e.toString());
e.printStackTrace();
throw new RuntimeException(msg);
}