Author: max.andersen@(protected)
Date: 2008-05-19 11:22:26 -0400 (Mon, 19 May 2008)
New Revision: 14675
Modified:
branches/Branch_3_2/HibernateExt/tools/src/java/org/hibernate/tool/hbm2x/Hbm2DDLExporter.java
Log:
JBIDE-2232 BuildException
Modified: branches/Branch_3_2/HibernateExt/tools/src/java/org/hibernate/tool/hbm2x/Hbm2DDLExporter.java
===================================================================
--- branches/Branch_3_2/HibernateExt/tools/src/java/org/hibernate/tool/hbm2x/Hbm2DDLExporter.java 2008-05-17 12:54:06 UTC (rev 14674)
+++ branches/Branch_3_2/HibernateExt/tools/src/java/org/hibernate/tool/hbm2x/Hbm2DDLExporter.java 2008-05-19 15:22:26 UTC (rev 14675)
@@(protected) @@
import
java.io.File;
import
java.util.Iterator;
-import
org.apache.tools.ant.BuildException;
import
org.hibernate.cfg.Configuration;
import
org.hibernate.tool.hbm2ddl.SchemaExport;
import
org.hibernate.tool.hbm2ddl.SchemaUpdate;
@@(protected) @@
log.warn("Error #" + i + ": ", element);
}
- log.error(i - 1 + " occurred while performing Hbm2DDLExporter.");
+ log.error(i - 1 + " errors occurred while performing Hbm2DDLExporter.");
if (haltOnError) {
- throw new BuildException(
+ throw new ExporterException(
"Errors while performing Hbm2DDLExporter");
}
}
_______________________________________________
hibernate-commits mailing list
hibernate-commits@(protected)
https://lists.jboss.org/mailman/listinfo/hibernate-commits