You are viewing a plain text version of this content. The canonical link for it is here.
Posted to cvs@cocoon.apache.org by st...@locus.apache.org on 2000/09/03 15:45:05 UTC

cvs commit: xml-cocoon/src/org/apache/cocoon Cocoon.java

stefano     00/09/03 06:45:05

  Modified:    src/org/apache/cocoon Tag: xml-cocoon2 Cocoon.java
  Log:
  no need to stop if a component is not found, the runtime error will signal this, but will simplify installation
  
  Revision  Changes    Path
  No                   revision
  
  
  No                   revision
  
  
  1.4.2.23  +2 -2      xml-cocoon/src/org/apache/cocoon/Cocoon.java
  
  Index: Cocoon.java
  ===================================================================
  RCS file: /home/cvs/xml-cocoon/src/org/apache/cocoon/Cocoon.java,v
  retrieving revision 1.4.2.22
  retrieving revision 1.4.2.23
  diff -u -r1.4.2.22 -r1.4.2.23
  --- Cocoon.java	2000/08/31 16:41:02	1.4.2.22
  +++ Cocoon.java	2000/09/03 13:45:05	1.4.2.23
  @@ -41,7 +41,7 @@
    * @author <a href="mailto:fumagalli@exoffice.com">Pierpaolo Fumagalli</a>
    *         (Apache Software Foundation, Exoffice Technologies)
    * @author <a href="mailto:stefano@apache.org">Stefano Mazzocchi</a>
  - * @version CVS $Revision: 1.4.2.22 $ $Date: 2000/08/31 16:41:02 $
  + * @version CVS $Revision: 1.4.2.23 $ $Date: 2000/09/03 13:45:05 $
    */
   public class Cocoon
     implements Component, Configurable, ComponentManager, Modifiable, Processor, Constants {
  @@ -148,7 +148,7 @@
                   this.components.put(role, ClassUtils.getClass(className));
                   this.configurations.put(role, co);
               } catch (Exception ex) {
  -                throw new ConfigurationException("Cannot load class " + className + ": " + ex.getMessage(), co);
  +                // if the component is not found, there is no need to stop at this point.
               }
           }