tomcat-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From lu...@apache.org
Subject cvs commit: jakarta-tomcat-jasper/jasper2/src/share/org/apache/jasper/compiler Generator.java
Date Thu, 01 Aug 2002 22:44:54 GMT
luehe       2002/08/01 15:44:54

  Modified:    jasper2/src/share/org/apache/jasper/compiler Generator.java
  Log:
  In generated doTag() method, catch IOException and rethrow as JspException
  
  Revision  Changes    Path
  1.56      +7 -3      jakarta-tomcat-jasper/jasper2/src/share/org/apache/jasper/compiler/Generator.java
  
  Index: Generator.java
  ===================================================================
  RCS file: /home/cvs/jakarta-tomcat-jasper/jasper2/src/share/org/apache/jasper/compiler/Generator.java,v
  retrieving revision 1.55
  retrieving revision 1.56
  diff -u -r1.55 -r1.56
  --- Generator.java	1 Aug 2002 18:47:28 -0000	1.55
  +++ Generator.java	1 Aug 2002 22:44:54 -0000	1.56
  @@ -2792,6 +2792,10 @@
   
       private void generateTagHandlerPostamble() {
           out.popIndent();
  +        out.printil("} catch (java.io.IOException ioe) {");
  +	out.pushIndent();
  +	out.printil("throw new javax.servlet.jsp.JspException(ioe);");
  +	out.popIndent();
           out.printil("} finally {");
           out.pushIndent();
           out.printil("getJspContext().popPageScope();");
  
  
  

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


Mime
View raw message