commons-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From morg...@apache.org
Subject cvs commit: jakarta-commons-sandbox/jelly/jelly-tags/define/src/test/org/apache/commons/jelly/tags/define DynamicTag.java
Date Mon, 27 Jan 2003 07:10:14 GMT
morgand     2003/01/26 23:10:14

  Modified:    jelly/jelly-tags/define/src/test/org/apache/commons/jelly/tags/define
                        DynamicTag.java
  Log:
  fixed interface
  
  Revision  Changes    Path
  1.2       +15 -7     jakarta-commons-sandbox/jelly/jelly-tags/define/src/test/org/apache/commons/jelly/tags/define/DynamicTag.java
  
  Index: DynamicTag.java
  ===================================================================
  RCS file: /home/cvs/jakarta-commons-sandbox/jelly/jelly-tags/define/src/test/org/apache/commons/jelly/tags/define/DynamicTag.java,v
  retrieving revision 1.1
  retrieving revision 1.2
  diff -u -r1.1 -r1.2
  --- DynamicTag.java	15 Jan 2003 14:58:05 -0000	1.1
  +++ DynamicTag.java	27 Jan 2003 07:10:14 -0000	1.2
  @@ -61,9 +61,12 @@
    */
    package org.apache.commons.jelly.tags.define;
   
  +import org.apache.commons.jelly.JellyTagException;
   import org.apache.commons.jelly.TagSupport;
   import org.apache.commons.jelly.XMLOutput;
   
  +import org.xml.sax.SAXException;
  +
   /**
    * @author stephen
    * @version $Revision$
  @@ -74,9 +77,14 @@
       /**
        * @see org.apache.commons.jelly.Tag#doTag(XMLOutput)
        */
  -    public void doTag(XMLOutput output) throws Exception
  +    public void doTag(XMLOutput output) throws JellyTagException
       {
  -        output.write("output - ignored body");
  +        try {
  +            output.write("output - ignored body");
  +        }
  +        catch (SAXException e) {
  +            throw new JellyTagException(e);
  +        }
       }
   
   }
  
  
  

--
To unsubscribe, e-mail:   <mailto:commons-dev-unsubscribe@jakarta.apache.org>
For additional commands, e-mail: <mailto:commons-dev-help@jakarta.apache.org>


Mime
View raw message