[seam-commits] Seam SVN: r8890 - trunk/src/main/org/jboss/seam/init.
seam-commits at lists.jboss.org
seam-commits at lists.jboss.org
Wed Sep 3 15:37:26 EDT 2008
Author: pete.muir at jboss.org
Date: 2008-09-03 15:37:25 -0400 (Wed, 03 Sep 2008)
New Revision: 8890
Modified:
trunk/src/main/org/jboss/seam/init/Initialization.java
Log:
Better error reporting
Modified: trunk/src/main/org/jboss/seam/init/Initialization.java
===================================================================
--- trunk/src/main/org/jboss/seam/init/Initialization.java 2008-09-03 18:25:32 UTC (rev 8889)
+++ trunk/src/main/org/jboss/seam/init/Initialization.java 2008-09-03 19:37:25 UTC (rev 8890)
@@ -285,6 +285,10 @@
// ignored when mis-spelled or given the wrong namespace!!
className = null;
}
+ catch (Exception e)
+ {
+ throw new RuntimeException("Error loading element " + elemName + " with component name " + name + " and component class " + className);
+ }
//finally, if we could not get the name from the XML name attribute,
//or from an @Name annotation on the class, imply it
More information about the seam-commits
mailing list