Author: pete.muir(a)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
Show replies by date