markt 2004/04/09 09:35:12
Modified: jasper2/src/share/org/apache/jasper/runtime
PageContextImpl.java
Log:
- Fix bug19049. Clarify error message when nesting exceptions.
- Patch provided by Joseph Shraibman.
Revision Changes Path
1.59 +2 -1
jakarta-tomcat-jasper/jasper2/src/share/org/apache/jasper/runtime/PageContextImpl.java
Index: PageContextImpl.java
===================================================================
RCS file:
/home/cvs/jakarta-tomcat-jasper/jasper2/src/share/org/apache/jasper/runtime/PageContextImpl.java,v
retrieving revision 1.58
retrieving revision 1.59
diff -u -r1.58 -r1.59
--- PageContextImpl.java 9 Apr 2004 16:31:29 -0000 1.58
+++ PageContextImpl.java 9 Apr 2004 16:35:12 -0000 1.59
@@ -815,7 +815,8 @@
}
if (rootCause != null) {
- throw new ServletException(t.getMessage(), rootCause);
+ throw new ServletException(t.getClass().getName() + ": " +
+ t.getMessage(), rootCause);
}
throw new ServletException(t);
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]