openwebbeans-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From strub...@apache.org
Subject svn commit: r748206 - /incubator/openwebbeans/trunk/webbeans-impl/src/main/java/org/apache/webbeans/container/ManagerImpl.java
Date Thu, 26 Feb 2009 16:43:51 GMT
Author: struberg
Date: Thu Feb 26 16:43:50 2009
New Revision: 748206

URL: http://svn.apache.org/viewvc?rev=748206&view=rev
Log:
OWB-82 rephrase wording of the exceptions to reflect the _active_ fact better

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

Modified: incubator/openwebbeans/trunk/webbeans-impl/src/main/java/org/apache/webbeans/container/ManagerImpl.java
URL: http://svn.apache.org/viewvc/incubator/openwebbeans/trunk/webbeans-impl/src/main/java/org/apache/webbeans/container/ManagerImpl.java?rev=748206&r1=748205&r2=748206&view=diff
==============================================================================
--- incubator/openwebbeans/trunk/webbeans-impl/src/main/java/org/apache/webbeans/container/ManagerImpl.java
(original)
+++ incubator/openwebbeans/trunk/webbeans-impl/src/main/java/org/apache/webbeans/container/ManagerImpl.java
Thu Feb 26 16:43:50 2009
@@ -146,12 +146,12 @@
         // Still null
         if (contexts.isEmpty())
         {
-            throw new ContextNotActiveException("WebBeans context with scope type annotation
@" + scopType.getSimpleName() + " is not exist within current thread");
+            throw new ContextNotActiveException("WebBeans context with scope type annotation
@" + scopType.getSimpleName() + " does not exist within current thread");
         }
         
         else if(contexts.size() > 1)
         {
-            throw new IllegalStateException("More than one context exist with scope type
annotation @" + scopType.getSimpleName());
+            throw new IllegalStateException("More than one active context exists with scope
type annotation @" + scopType.getSimpleName());
         }
 
         return contexts.get(0);



Mime
View raw message