You are viewing a plain text version of this content. The canonical link for it is here.
Posted to cvs@cocoon.apache.org by jo...@apache.org on 2003/10/27 20:58:19 UTC

cvs commit: cocoon-2.1/src/blocks/woody/java/org/apache/cocoon/woody/generation WoodyGenerator.java

joerg       2003/10/27 11:58:19

  Modified:    src/blocks/woody/java/org/apache/cocoon/woody/generation
                        WoodyGenerator.java
  Log:
  fixed error message
  
  Revision  Changes    Path
  1.3       +2 -2      cocoon-2.1/src/blocks/woody/java/org/apache/cocoon/woody/generation/WoodyGenerator.java
  
  Index: WoodyGenerator.java
  ===================================================================
  RCS file: /home/cvs/cocoon-2.1/src/blocks/woody/java/org/apache/cocoon/woody/generation/WoodyGenerator.java,v
  retrieving revision 1.2
  retrieving revision 1.3
  diff -u -r1.2 -r1.3
  --- WoodyGenerator.java	4 Jul 2003 17:51:53 -0000	1.2
  +++ WoodyGenerator.java	27 Oct 2003 19:58:19 -0000	1.3
  @@ -88,12 +88,12 @@
           try {
               formAttribute = parameters.getParameter("attribute-name");
           } catch (ParameterException e) {
  -            throw new ProcessingException("Missing 'attribute-name' parameter for WoodyTemplateTransformer.");
  +            throw new ProcessingException("Missing 'attribute-name' parameter for WoodyGenerator.");
           }
           Request request = ObjectModelHelper.getRequest(objectModel);
           form = (Form)request.getAttribute(formAttribute);
           if (form == null) {
  -            throw new ProcessingException("WoodyTemplateTransformer cannot find a form in the request attribute named " + formAttribute);
  +            throw new ProcessingException("WoodyGenerator cannot find a form in the request attribute named " + formAttribute);
           }
       }