continuum-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From car...@apache.org
Subject svn commit: r432378 - /maven/continuum/branches/continuum-acegi/continuum-webapp/src/main/java/org/apache/maven/continuum/web/filter/FilterToComponentProxy.java
Date Thu, 17 Aug 2006 20:21:46 GMT
Author: carlos
Date: Thu Aug 17 13:21:45 2006
New Revision: 432378

URL: http://svn.apache.org/viewvc?rev=432378&view=rev
Log:
Handle error when container is not initialized

Modified:
    maven/continuum/branches/continuum-acegi/continuum-webapp/src/main/java/org/apache/maven/continuum/web/filter/FilterToComponentProxy.java

Modified: maven/continuum/branches/continuum-acegi/continuum-webapp/src/main/java/org/apache/maven/continuum/web/filter/FilterToComponentProxy.java
URL: http://svn.apache.org/viewvc/maven/continuum/branches/continuum-acegi/continuum-webapp/src/main/java/org/apache/maven/continuum/web/filter/FilterToComponentProxy.java?rev=432378&r1=432377&r2=432378&view=diff
==============================================================================
--- maven/continuum/branches/continuum-acegi/continuum-webapp/src/main/java/org/apache/maven/continuum/web/filter/FilterToComponentProxy.java
(original)
+++ maven/continuum/branches/continuum-acegi/continuum-webapp/src/main/java/org/apache/maven/continuum/web/filter/FilterToComponentProxy.java
Thu Aug 17 13:21:45 2006
@@ -135,6 +135,11 @@
 
         PlexusContainer container = getContainer( filterConfig );
 
+        if ( container == null )
+        {
+            throw new ServletException( "Plexus container not found" );
+        }
+
         Object object = null;
         try
         {



Mime
View raw message