avalon-cvs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From pro...@apache.org
Subject cvs commit: avalon-phoenix/src/java/org/apache/avalon/phoenix/components/validator DefaultConfigurationValidator.java
Date Tue, 08 Apr 2003 18:38:43 GMT
proyal      2003/04/08 11:38:43

  Modified:    src/java/org/apache/avalon/phoenix/components/validator
                        DefaultConfigurationValidator.java
  Log:
  Write name of component that failed validation
  
  Revision  Changes    Path
  1.2       +4 -2      avalon-phoenix/src/java/org/apache/avalon/phoenix/components/validator/DefaultConfigurationValidator.java
  
  Index: DefaultConfigurationValidator.java
  ===================================================================
  RCS file: /home/cvs/avalon-phoenix/src/java/org/apache/avalon/phoenix/components/validator/DefaultConfigurationValidator.java,v
  retrieving revision 1.1
  retrieving revision 1.2
  diff -u -r1.1 -r1.2
  --- DefaultConfigurationValidator.java	6 Apr 2003 11:41:55 -0000	1.1
  +++ DefaultConfigurationValidator.java	8 Apr 2003 18:38:43 -0000	1.2
  @@ -127,7 +127,9 @@
           }
           catch( Exception e )
           {
  -            getLogger().warn( "Failed validation due to: " + e.getMessage(), e );
  +            final String msg = component.getMetaData().getName() + " failed validation
due to: "
  +                    + e.getMessage();
  +            getLogger().warn( msg, e );
               return false;
           }
       }
  
  
  

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


Mime
View raw message