[webbeans-commits] Webbeans SVN: r1653 - ri/trunk/webbeans-ri/src/main/java/org/jboss/webbeans/bean.

webbeans-commits at lists.jboss.org webbeans-commits at lists.jboss.org
Sun Feb 22 18:56:20 EST 2009


Author: pete.muir at jboss.org
Date: 2009-02-22 18:56:20 -0500 (Sun, 22 Feb 2009)
New Revision: 1653

Modified:
   ri/trunk/webbeans-ri/src/main/java/org/jboss/webbeans/bean/AbstractBean.java
Log:
minor

Modified: ri/trunk/webbeans-ri/src/main/java/org/jboss/webbeans/bean/AbstractBean.java
===================================================================
--- ri/trunk/webbeans-ri/src/main/java/org/jboss/webbeans/bean/AbstractBean.java	2009-02-22 23:54:59 UTC (rev 1652)
+++ ri/trunk/webbeans-ri/src/main/java/org/jboss/webbeans/bean/AbstractBean.java	2009-02-22 23:56:20 UTC (rev 1653)
@@ -336,7 +336,7 @@
    {
       if (getAnnotatedItem().isAnnotationPresent(Named.class) && getSpecializedBean().getAnnotatedItem().isAnnotationPresent(Named.class))
       {
-         throw new DefinitionException("Cannot put name on specializing and specialized class");
+         throw new DefinitionException("Cannot put name on specializing and specialized class " + getAnnotatedItem());
       }
       this.bindings.addAll(getSpecializedBean().getBindings());
       if (isSpecializing() && getSpecializedBean().getAnnotatedItem().isAnnotationPresent(Named.class))




More information about the weld-commits mailing list