avalon-cvs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From blorit...@apache.org
Subject cvs commit: jakarta-avalon-excalibur/fortress/src/java/org/apache/avalon/fortress/impl DefaultContainer.java
Date Mon, 27 Jan 2003 17:48:49 GMT
bloritsch    2003/01/27 09:48:49

  Modified:    fortress/src/java/org/apache/avalon/fortress/impl
                        DefaultContainer.java
  Log:
  fix compile error
  
  Revision  Changes    Path
  1.2       +9 -2      jakarta-avalon-excalibur/fortress/src/java/org/apache/avalon/fortress/impl/DefaultContainer.java
  
  Index: DefaultContainer.java
  ===================================================================
  RCS file: /home/cvs/jakarta-avalon-excalibur/fortress/src/java/org/apache/avalon/fortress/impl/DefaultContainer.java,v
  retrieving revision 1.1
  retrieving revision 1.2
  diff -u -r1.1 -r1.2
  --- DefaultContainer.java	27 Jan 2003 16:55:41 -0000	1.1
  +++ DefaultContainer.java	27 Jan 2003 17:48:49 -0000	1.2
  @@ -116,7 +116,14 @@
                   final ComponentHandlerMetaData metaData =
                       new ComponentHandlerMetaData( hint, classname, element, isLazy );
   
  -                addComponent( metaData );
  +                try
  +                {
  +                    addComponent( metaData );
  +                }
  +                catch (Exception e)
  +                {
  +                    throw new ConfigurationException("Could not add component", e);
  +                }
               }
           }
       }
  
  
  

--
To unsubscribe, e-mail:   <mailto:avalon-cvs-unsubscribe@jakarta.apache.org>
For additional commands, e-mail: <mailto:avalon-cvs-help@jakarta.apache.org>


Mime
View raw message