throw new BuildException("I/O Error while parsing file " + f, ioe);
} catch (com.sun.grid.cull.ParseException e) {
throw new BuildException("Parse Error: " + f + ": " + e.getMessage(), e);
}
}
int errorCount = ret.verify();
if (errorCount > 0) {
throw new BuildException("cull defintion contains " + errorCount + " errors");
}
return ret;
}