craigmcc 01/05/10 13:42:36
Modified: jasper/src/share/org/apache/jasper/runtime
PageContextImpl.java
Log:
JSP pages need to throw RuntimeExceptions instead of wrapping them in
ServletException as well.
Revision Changes Path
1.10 +4 -3
jakarta-tomcat-4.0/jasper/src/share/org/apache/jasper/runtime/PageContextImpl.java
Index: PageContextImpl.java
===================================================================
RCS file:
/home/cvs/jakarta-tomcat-4.0/jasper/src/share/org/apache/jasper/runtime/PageContextImpl.java,v
retrieving revision 1.9
retrieving revision 1.10
diff -u -r1.9 -r1.10
--- PageContextImpl.java 2001/02/18 02:18:15 1.9
+++ PageContextImpl.java 2001/05/10 20:42:33 1.10
@@ -1,7 +1,7 @@
/*
- * $Header:
/home/cvs/jakarta-tomcat-4.0/jasper/src/share/org/apache/jasper/runtime/PageContextImpl.java,v
1.9 2001/02/18 02:18:15 craigmcc Exp $
- * $Revision: 1.9 $
- * $Date: 2001/02/18 02:18:15 $
+ * $Header:
/home/cvs/jakarta-tomcat-4.0/jasper/src/share/org/apache/jasper/runtime/PageContextImpl.java,v
1.10 2001/05/10 20:42:33 craigmcc Exp $
+ * $Revision: 1.10 $
+ * $Date: 2001/05/10 20:42:33 $
*
* ====================================================================
*
@@ -438,6 +438,7 @@
// to get a stack trace for the real problem
if (t instanceof IOException) throw (IOException)t;
if (t instanceof ServletException) throw (ServletException)t;
+ if (t instanceof RuntimeException) throw (RuntimeException)t;
throw new ServletException(t);
}
}