tomcat-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From kin...@apache.org
Subject cvs commit: jakarta-tomcat-jasper/jasper2/src/share/org/apache/jasper/servlet JspServletWrapper.java
Date Thu, 01 Aug 2002 23:29:36 GMT
kinman      2002/08/01 16:29:36

  Modified:    jasper2/src/share/org/apache/jasper
                        JspCompilationContext.java
               jasper2/src/share/org/apache/jasper/servlet
                        JspServletWrapper.java
  Log:
  - Don't wrap JasperException's so error from compiling tag file got displayed.
  
  Revision  Changes    Path
  1.13      +5 -3      jakarta-tomcat-jasper/jasper2/src/share/org/apache/jasper/JspCompilationContext.java
  
  Index: JspCompilationContext.java
  ===================================================================
  RCS file: /home/cvs/jakarta-tomcat-jasper/jasper2/src/share/org/apache/jasper/JspCompilationContext.java,v
  retrieving revision 1.12
  retrieving revision 1.13
  diff -u -r1.12 -r1.13
  --- JspCompilationContext.java	1 Aug 2002 21:49:58 -0000	1.12
  +++ JspCompilationContext.java	1 Aug 2002 23:29:36 -0000	1.13
  @@ -512,6 +512,8 @@
               try {
                   jspCompiler.compile();
                   reload = true;
  +            } catch (JasperException ex) {
  +                throw ex;
               } catch (Exception ex) {
                   throw new JasperException(
                       Constants.getString("jsp.error.unable.compile"),ex);
  
  
  
  1.10      +4 -6      jakarta-tomcat-jasper/jasper2/src/share/org/apache/jasper/servlet/JspServletWrapper.java
  
  Index: JspServletWrapper.java
  ===================================================================
  RCS file: /home/cvs/jakarta-tomcat-jasper/jasper2/src/share/org/apache/jasper/servlet/JspServletWrapper.java,v
  retrieving revision 1.9
  retrieving revision 1.10
  diff -u -r1.9 -r1.10
  --- JspServletWrapper.java	1 Aug 2002 17:17:27 -0000	1.9
  +++ JspServletWrapper.java	1 Aug 2002 23:29:36 -0000	1.10
  @@ -195,9 +195,7 @@
                   }
               }
           } catch (FileNotFoundException ex) {
  -                throw new JasperException(ex);
  -        } catch (JasperException ex) {
  -            throw ex;
  +            throw new JasperException(ex);
   	}
   
   	return tagHandlerClass;
  
  
  

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