StringBuilder errorBuf = new StringBuilder();
if (!errors.isEmpty()) {
System.err.println("------->ERROR(s) DURING THREAD TEST : <-------------------");
for (Iterator<PackageBuilderErrors> iterator = errors.iterator(); iterator.hasNext();) {
PackageBuilderErrors e = iterator.next();
for (int i = 0; i < e.getErrors().length; i++) {
DroolsError de = e.getErrors()[i];
errorBuf.append(de.getMessage() + "\n");
}
}
}