cocoon-cvs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From tcu...@apache.org
Subject cvs commit: xml-cocoon2/src/blocks/databases/java/org/apache/cocoon/components/language/markup/xsp/java esql.xsl
Date Sat, 22 Feb 2003 13:40:12 GMT
tcurdt      2003/02/22 05:40:12

  Modified:    src/blocks/databases/java/org/apache/cocoon/components/language/markup/xsp/java
                        esql.xsl
  Log:
  applied patch from phantom@jhu.edu, fixed bug #17261
  
  Revision  Changes    Path
  1.8       +10 -10    xml-cocoon2/src/blocks/databases/java/org/apache/cocoon/components/language/markup/xsp/java/esql.xsl
  
  Index: esql.xsl
  ===================================================================
  RCS file: /home/cvs/xml-cocoon2/src/blocks/databases/java/org/apache/cocoon/components/language/markup/xsp/java/esql.xsl,v
  retrieving revision 1.7
  retrieving revision 1.8
  diff -u -r1.7 -r1.8
  --- esql.xsl	31 Jan 2003 23:27:04 -0000	1.7
  +++ esql.xsl	22 Feb 2003 13:40:11 -0000	1.8
  @@ -342,8 +342,8 @@
         }
         <xsl:apply-templates/>
       }
  -    catch (SQLException e) {
  -      getLogger().error("",e);
  +    catch (SQLException _esql_exception_<xsl:value-of select="generate-id(.)"/>)
{
  +      getLogger().error("",_esql_exception_<xsl:value-of select="generate-id(.)"/>);
       }
       finally {
         try {
  @@ -481,13 +481,13 @@
       <xsl:if test="esql:max-rows">
         try {
           _esql_query.setMaxRows( Integer.parseInt(String.valueOf(<xsl:copy-of select="$maxrows"/>).trim())
);
  -      } catch (NumberFormatException e) {}
  +      } catch (NumberFormatException _esql_exception_<xsl:value-of select="generate-id(.)"/>)
{}
       </xsl:if>
   
       <xsl:if test="esql:skip-rows">
         try {
           _esql_query.setSkipRows( Integer.parseInt(String.valueOf(<xsl:copy-of select="$skiprows"/>).trim())
);
  -      } catch (NumberFormatException e) {}
  +      } catch (NumberFormatException _esql_exception_<xsl:value-of select="generate-id(.)"/>)
{}
       </xsl:if>
   
       try {
  @@ -944,8 +944,8 @@
   
   
                 XSPUtil.include(__is, this.contentHandler, newParser);
  -          } catch (Exception e) {
  -              getLogger().error("Could not include page", e);
  +          } catch (Exception _esql_exception_<xsl:value-of select="generate-id(.)"/>)
{
  +              getLogger().error("Could not include page", _esql_exception_<xsl:value-of
select="generate-id(.)"/>);
             } finally {
                 if (newParser != null) this.manager.release((Component) newParser);
             }
  @@ -1015,13 +1015,13 @@
       <xsl:if test="esql:max-rows">
         try {
           _esql_query.setMaxRows( Integer.parseInt(String.valueOf(<xsl:copy-of select="$maxrows"/>).trim())
);
  -      } catch (NumberFormatException e) {}
  +      } catch (NumberFormatException _esql_exception_<xsl:value-of select="generate-id(.)"/>)
{}
       </xsl:if>
   
       <xsl:if test="esql:skip-rows">
         try {
           _esql_query.setSkipRows( Integer.parseInt(String.valueOf(<xsl:copy-of select="$skiprows"/>).trim())
);
  -      } catch (NumberFormatException e) {}
  +      } catch (NumberFormatException _esql_exception_<xsl:value-of select="generate-id(.)"/>)
{}
       </xsl:if>
   
      {
  
  
  

Mime
View raw message