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 ServletException.java
Date Wed, 05 Feb 2003 03:06:33 GMT
jfarcand    2003/02/04 19:06:33

  Modified:    src/share/javax/servlet ServletException.java
  Log:
  Fix root cause lost in ServletException.
  
  Submitted by: Costin Manolache
  
  Revision  Changes    Path
  1.2       +4 -4      jakarta-servletapi-4/src/share/javax/servlet/ServletException.java
  
  Index: ServletException.java
  ===================================================================
  RCS file: /home/cvs/jakarta-servletapi-4/src/share/javax/servlet/ServletException.java,v
  retrieving revision 1.1
  retrieving revision 1.2
  diff -u -r1.1 -r1.2
  --- ServletException.java	9 Jan 2001 03:24:16 -0000	1.1
  +++ ServletException.java	5 Feb 2003 03:06:33 -0000	1.2
  @@ -129,8 +129,8 @@
        */
       
       public ServletException(String message, Throwable rootCause) {
  -	super(message);
  -	this.rootCause = rootCause;
  +       super(message, rootCause);
  +       this.rootCause = rootCause;
       }
   
   
  @@ -158,8 +158,8 @@
        */
   
       public ServletException(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