cocoon-cvs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From je...@apache.org
Subject cvs commit: cocoon-2.1/src/java/org/apache/cocoon/components/modules/input XMLFileModule.java
Date Sun, 18 May 2003 14:00:43 GMT
jefft       2003/05/18 07:00:43

  Modified:    src/java/org/apache/cocoon/components/modules/input
                        XMLFileModule.java
  Log:
  Don't throw an exception until I figure out if this is really an exceptional circumstance
  
  Revision  Changes    Path
  1.7       +4 -2      cocoon-2.1/src/java/org/apache/cocoon/components/modules/input/XMLFileModule.java
  
  Index: XMLFileModule.java
  ===================================================================
  RCS file: /home/cvs/cocoon-2.1/src/java/org/apache/cocoon/components/modules/input/XMLFileModule.java,v
  retrieving revision 1.6
  retrieving revision 1.7
  diff -u -r1.6 -r1.7
  --- XMLFileModule.java	11 May 2003 11:09:46 -0000	1.6
  +++ XMLFileModule.java	18 May 2003 14:00:43 -0000	1.7
  @@ -269,11 +269,13 @@
           if (modeConf != null) {
               fileConf = modeConf.getChild("file", false);
               if (fileConf == null) {
  -                getLogger().error("Error: missing 'file' child element at "+modeConf.getLocation());
  +                getLogger().warn("Error: missing 'file' child element at "+modeConf.getLocation());
  +                /*
                   throw new ConfigurationException(
                           "Error in dynamic configuration of XMLFileModule: " +
                           "missing 'file' child element at " + 
                           modeConf.getLocation());
  +                */
               }
               hasDynamicConf = true;
           }
  
  
  

Mime
View raw message