cocoon-cvs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From vgritse...@apache.org
Subject cvs commit: xml-cocoon2/src/java/org/apache/cocoon/components/language/generator ProgramGeneratorImpl.java
Date Thu, 28 Feb 2002 14:25:52 GMT
vgritsenko    02/02/28 06:25:51

  Modified:    src/java/org/apache/cocoon/components/language/generator
                        ProgramGeneratorImpl.java
  Log:
  Do not ever return null
  
  Revision  Changes    Path
  1.12      +2 -1      xml-cocoon2/src/java/org/apache/cocoon/components/language/generator/ProgramGeneratorImpl.java
  
  Index: ProgramGeneratorImpl.java
  ===================================================================
  RCS file: /home/cvs/xml-cocoon2/src/java/org/apache/cocoon/components/language/generator/ProgramGeneratorImpl.java,v
  retrieving revision 1.11
  retrieving revision 1.12
  diff -u -r1.11 -r1.12
  --- ProgramGeneratorImpl.java	22 Feb 2002 07:00:07 -0000	1.11
  +++ ProgramGeneratorImpl.java	28 Feb 2002 14:25:51 -0000	1.12
  @@ -87,7 +87,7 @@
    *
    * @author <a href="mailto:ricardo@apache.org">Ricardo Rocha</a>
    * @author <a href="mailto:vgritsenko@apache.org">Vadim Gritsenko</a>
  - * @version CVS $Id: ProgramGeneratorImpl.java,v 1.11 2002/02/22 07:00:07 cziegeler Exp
$
  + * @version CVS $Id: ProgramGeneratorImpl.java,v 1.12 2002/02/28 14:25:51 vgritsenko Exp
$
    */
   public class ProgramGeneratorImpl extends AbstractLoggable
       implements ProgramGenerator, Contextualizable, Composable, Parameterizable,
  @@ -343,6 +343,7 @@
                   programInstance = (CompiledComponent)this.cache.select(normalizedName);
               } catch (Exception cme) {
                   getLogger().debug("Can't load ServerPage", cme);
  +                throw new ProcessingException("Can't load ServerPage", cme);
               }
           }
   
  
  
  

----------------------------------------------------------------------
In case of troubles, e-mail:     webmaster@xml.apache.org
To unsubscribe, e-mail:          cocoon-cvs-unsubscribe@xml.apache.org
For additional commands, e-mail: cocoon-cvs-help@xml.apache.org


Mime
View raw message