jfarcand 2003/02/04 19:07:44
Modified: src/share/javax/servlet/jsp JspException.java
Log:
Fix root cause lost in JspException.
Submitted by: Costin Manolache
Revision Changes Path
1.2 +4 -4
jakarta-servletapi-4/src/share/javax/servlet/jsp/JspException.java
Index: JspException.java
===================================================================
RCS file:
/home/cvs/jakarta-servletapi-4/src/share/javax/servlet/jsp/JspException.java,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- JspException.java 9 Jan 2001 03:24:20 -0000 1.1
+++ JspException.java 5 Feb 2003 03:07:44 -0000 1.2
@@ -106,8 +106,8 @@
*/
public JspException(String message, Throwable rootCause) {
- super(message);
- this.rootCause = rootCause;
+ super(message, rootCause);
+ this.rootCause = rootCause;
}
@@ -132,8 +132,8 @@
*/
public JspException(Throwable rootCause) {
- super(rootCause.getLocalizedMessage());
- this.rootCause = rootCause;
+ super(rootCause.getLocalizedMessage(), rootCause);
+ this.rootCause = rootCause;
}
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]