avalon-cvs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From cziege...@apache.org
Subject cvs commit: jakarta-avalon-excalibur/component/src/java/org/apache/avalon/excalibur/component ExcaliburComponentManager.java
Date Wed, 24 Apr 2002 10:04:06 GMT
cziegeler    02/04/24 03:04:05

  Modified:    component/src/java/org/apache/avalon/excalibur/component
                        ExcaliburComponentManager.java
  Log:
  At least logging exception with warn level
  
  Revision  Changes    Path
  1.4       +7 -1      jakarta-avalon-excalibur/component/src/java/org/apache/avalon/excalibur/component/ExcaliburComponentManager.java
  
  Index: ExcaliburComponentManager.java
  ===================================================================
  RCS file: /home/cvs/jakarta-avalon-excalibur/component/src/java/org/apache/avalon/excalibur/component/ExcaliburComponentManager.java,v
  retrieving revision 1.3
  retrieving revision 1.4
  diff -u -r1.3 -r1.4
  --- ExcaliburComponentManager.java	18 Apr 2002 09:19:42 -0000	1.3
  +++ ExcaliburComponentManager.java	24 Apr 2002 10:04:05 -0000	1.4
  @@ -32,7 +32,7 @@
    * @author <a href="mailto:bloritsch@apache.org">Berin Loritsch</a>
    * @author <a href="mailto:paul@luminas.co.uk">Paul Russell</a>
    * @author <a href="mailto:ryan@silveregg.co.jp">Ryan Shaw</a>
  - * @version CVS $Revision: 1.3 $ $Date: 2002/04/18 09:19:42 $
  + * @version CVS $Revision: 1.4 $ $Date: 2002/04/24 10:04:05 $
    * @since 4.0
    */
   public class ExcaliburComponentManager
  @@ -274,6 +274,12 @@
                   }
                   catch( Exception e )
                   {
  +                    if( getLogger().isWarnEnabled() )
  +                    {
  +                        final String message =
  +                           "ComponentManager exception from parent CM during lookup.";
  +                        getLogger().warn( message, e );
  +                    }
                       // ignore.  If the exception is thrown, we try to
                       // create the component next
                   }
  
  
  

--
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