jstrachan    2003/03/20 08:54:32

  Modified:    jelly/src/java/org/apache/commons/jelly/impl
                        CollectionTag.java
  Log:
  allow collection tags to throw exceptions. (It'd be nice to rename the interface to 
BeanContainer or something like that to fit more closely with BeanSource
  
  Revision  Changes    Path
  1.3       +3 -1      
jakarta-commons/jelly/src/java/org/apache/commons/jelly/impl/CollectionTag.java
  
  Index: CollectionTag.java
  ===================================================================
  RCS file: 
/home/cvs/jakarta-commons/jelly/src/java/org/apache/commons/jelly/impl/CollectionTag.java,v
  retrieving revision 1.2
  retrieving revision 1.3
  diff -u -r1.2 -r1.3
  --- CollectionTag.java        30 Oct 2002 19:16:23 -0000      1.2
  +++ CollectionTag.java        20 Mar 2003 16:54:32 -0000      1.3
  @@ -61,6 +61,8 @@
    */
   package org.apache.commons.jelly.impl;
   
  +import org.apache.commons.jelly.JellyTagException;
  +
   /** 
    * A tag which is capable of consuming objects, such as a <useList> tag
    * such that nested objects will be added to the parent tag.
  @@ -73,5 +75,5 @@
       /** 
        * @return adds an item to the tags collection
        */
  -    public void addItem(Object value);
  +    public void addItem(Object value) throws JellyTagException;
   }
  
  
  

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to