cocoon-cvs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From jo...@apache.org
Subject cvs commit: cocoon-2.1/src/blocks/forms/java/org/apache/cocoon/forms/formmodel Repeater.java
Date Mon, 15 Mar 2004 21:50:08 GMT
joerg       2004/03/15 13:50:08

  Modified:    src/blocks/forms/java/org/apache/cocoon/forms/formmodel
                        Repeater.java
  Log:
  add location information to exception
  
  Revision  Changes    Path
  1.5       +3 -2      cocoon-2.1/src/blocks/forms/java/org/apache/cocoon/forms/formmodel/Repeater.java
  
  Index: Repeater.java
  ===================================================================
  RCS file: /home/cvs/cocoon-2.1/src/blocks/forms/java/org/apache/cocoon/forms/formmodel/Repeater.java,v
  retrieving revision 1.4
  retrieving revision 1.5
  diff -u -r1.4 -r1.5
  --- Repeater.java	9 Mar 2004 13:17:26 -0000	1.4
  +++ Repeater.java	15 Mar 2004 21:50:08 -0000	1.5
  @@ -279,7 +279,8 @@
       public void generateWidgetLabel(String widgetId, ContentHandler contentHandler) throws
SAXException {
           WidgetDefinition widgetDefinition = repeaterDefinition.getWidgetDefinition(widgetId);
           if (widgetDefinition == null)
  -            throw new SAXException("Repeater \"" + getFullyQualifiedId() + "\" contains
no widget with id \"" + widgetId + "\".");
  +            throw new SAXException("Repeater \"" + getFullyQualifiedId() + "\" at " + this.getLocation()
  +                                   + " contains no widget with id \"" + widgetId + "\".");
           widgetDefinition.generateLabel(contentHandler);
       }
   
  
  
  

Mime
View raw message