tomcat-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From jfarc...@apache.org
Subject cvs commit: jakarta-servletapi-4/src/share/javax/servlet/jsp JspException.java
Date Wed, 05 Feb 2003 03:07:44 GMT
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: tomcat-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: tomcat-dev-help@jakarta.apache.org


Mime
View raw message