openwebbeans-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From mat...@apache.org
Subject svn commit: r937626 - /openwebbeans/trunk/webbeans-impl/src/main/java/org/apache/webbeans/container/BeanManagerImpl.java
Date Sat, 24 Apr 2010 13:06:05 GMT
Author: matzew
Date: Sat Apr 24 13:06:05 2010
New Revision: 937626

URL: http://svn.apache.org/viewvc?rev=937626&view=rev
Log:
minor improvement on WebBeansConfigurationException

Modified:
    openwebbeans/trunk/webbeans-impl/src/main/java/org/apache/webbeans/container/BeanManagerImpl.java

Modified: openwebbeans/trunk/webbeans-impl/src/main/java/org/apache/webbeans/container/BeanManagerImpl.java
URL: http://svn.apache.org/viewvc/openwebbeans/trunk/webbeans-impl/src/main/java/org/apache/webbeans/container/BeanManagerImpl.java?rev=937626&r1=937625&r2=937626&view=diff
==============================================================================
--- openwebbeans/trunk/webbeans-impl/src/main/java/org/apache/webbeans/container/BeanManagerImpl.java
(original)
+++ openwebbeans/trunk/webbeans-impl/src/main/java/org/apache/webbeans/container/BeanManagerImpl.java
Sat Apr 24 13:06:05 2010
@@ -1008,7 +1008,7 @@ public class BeanManagerImpl implements 
             {
                 if (!bean.getScope().equals(Dependent.class))
                 {
-                    throw new WebBeansConfigurationException("Bean " + bean + "scope can
not define other scope except @Dependent to inject InjectionPoint");
+                    throw new WebBeansConfigurationException("Bean " + bean.getBeanClass()
+ "scope can not define other scope except @Dependent to inject InjectionPoint");
                 }
             }
         }
@@ -1076,4 +1076,4 @@ public class BeanManagerImpl implements 
     {
         return additionalScopes;
     }
-}
\ No newline at end of file
+}



Mime
View raw message