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/ojb/src/java/org/apache/commons/jelly/tags/ojb BrokerTag.java StoreTag.java
Date Sun, 26 Jan 2003 06:44:57 GMT
morgand     2003/01/25 22:44:57

  Modified:    jelly/jelly-tags/ojb/src/java/org/apache/commons/jelly/tags/ojb
                        BrokerTag.java StoreTag.java
  Log:
  converted ojb taglib from Exception to JellyTagException
  
  Revision  Changes    Path
  1.8       +2 -1      jakarta-commons-sandbox/jelly/jelly-tags/ojb/src/java/org/apache/commons/jelly/tags/ojb/BrokerTag.java
  
  Index: BrokerTag.java
  ===================================================================
  RCS file: /home/cvs/jakarta-commons-sandbox/jelly/jelly-tags/ojb/src/java/org/apache/commons/jelly/tags/ojb/BrokerTag.java,v
  retrieving revision 1.7
  retrieving revision 1.8
  diff -u -r1.7 -r1.8
  --- BrokerTag.java	11 Dec 2002 12:41:01 -0000	1.7
  +++ BrokerTag.java	26 Jan 2003 06:44:57 -0000	1.8
  @@ -54,6 +54,7 @@
    */
   package org.apache.commons.jelly.tags.ojb;
   
  +import org.apache.commons.jelly.JellyTagException;
   import org.apache.commons.jelly.TagSupport;
   import org.apache.commons.jelly.XMLOutput;
   import org.apache.ojb.broker.PersistenceBroker;
  @@ -80,7 +81,7 @@
   
       // Tag interface
       //------------------------------------------------------------------------- 
  -    public void doTag(XMLOutput output) throws Exception {
  +    public void doTag(XMLOutput output) throws JellyTagException {
           if ( var == null ) {
               var = "org.apache.commons.jelly.ojb.Broker";
           }
  
  
  
  1.7       +3 -3      jakarta-commons-sandbox/jelly/jelly-tags/ojb/src/java/org/apache/commons/jelly/tags/ojb/StoreTag.java
  
  Index: StoreTag.java
  ===================================================================
  RCS file: /home/cvs/jakarta-commons-sandbox/jelly/jelly-tags/ojb/src/java/org/apache/commons/jelly/tags/ojb/StoreTag.java,v
  retrieving revision 1.6
  retrieving revision 1.7
  diff -u -r1.6 -r1.7
  --- StoreTag.java	11 Dec 2002 12:41:01 -0000	1.6
  +++ StoreTag.java	26 Jan 2003 06:44:57 -0000	1.7
  @@ -54,7 +54,7 @@
    */
   package org.apache.commons.jelly.tags.ojb;
   
  -import org.apache.commons.jelly.JellyException;
  +import org.apache.commons.jelly.JellyTagException;
   import org.apache.commons.jelly.TagSupport;
   import org.apache.commons.jelly.XMLOutput;
   import org.apache.ojb.broker.PersistenceBroker;
  @@ -80,9 +80,9 @@
   
       // Tag interface
       //------------------------------------------------------------------------- 
  -    public void doTag(XMLOutput output) throws Exception {
  +    public void doTag(XMLOutput output) throws JellyTagException {
           if ( value == null ) {
  -            throw new JellyException( "No value is supplied!" );
  +            throw new JellyTagException( "No value is supplied!" );
           }
           getBroker().store( value );
       }
  
  
  

--
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