cocoon-cvs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From cziege...@apache.org
Subject cvs commit: cocoon-2.1/src/blocks/portal/java/org/apache/cocoon/portal/pluto PortletContainerEnvironmentImpl.java
Date Mon, 02 Feb 2004 10:26:43 GMT
cziegeler    2004/02/02 02:26:43

  Modified:    src/blocks/portal/java/org/apache/cocoon/portal/pluto
                        PortletContainerEnvironmentImpl.java
  Log:
  Thanks for spotting this! 
  Let's use the CascadingRuntimeException
  
  Revision  Changes    Path
  1.3       +3 -2      cocoon-2.1/src/blocks/portal/java/org/apache/cocoon/portal/pluto/PortletContainerEnvironmentImpl.java
  
  Index: PortletContainerEnvironmentImpl.java
  ===================================================================
  RCS file: /home/cvs/cocoon-2.1/src/blocks/portal/java/org/apache/cocoon/portal/pluto/PortletContainerEnvironmentImpl.java,v
  retrieving revision 1.2
  retrieving revision 1.3
  diff -u -r1.2 -r1.3
  --- PortletContainerEnvironmentImpl.java	2 Feb 2004 10:03:18 -0000	1.2
  +++ PortletContainerEnvironmentImpl.java	2 Feb 2004 10:26:43 -0000	1.3
  @@ -49,6 +49,7 @@
   import java.util.Iterator;
   import java.util.Map;
   
  +import org.apache.avalon.framework.CascadingRuntimeException;
   import org.apache.avalon.framework.activity.Disposable;
   import org.apache.avalon.framework.activity.Initializable;
   import org.apache.avalon.framework.container.ContainerUtil;
  @@ -164,7 +165,7 @@
                       service = (ContainerService)this.manager.lookup(key);
                       this.services.put(key, service);
                   } catch (ServiceException se) {
  -                    throw new RuntimeException("Unable to lookup service " + key + ": "
+ se);
  +                    throw new CascadingRuntimeException("Unable to lookup service " + key,
se);
                   }
               }
           }
  
  
  

Mime
View raw message