tomcat-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From lu...@apache.org
Subject cvs commit: jakarta-tomcat-jasper/jasper2/src/share/org/apache/jasper/compiler DefaultErrorHandler.java
Date Tue, 22 Oct 2002 21:59:58 GMT
luehe       2002/10/22 14:59:58

  Modified:    jasper2/src/share/org/apache/jasper/compiler
                        DefaultErrorHandler.java
  Log:
  expose exception in error message
  
  Revision  Changes    Path
  1.4       +5 -5      jakarta-tomcat-jasper/jasper2/src/share/org/apache/jasper/compiler/DefaultErrorHandler.java
  
  Index: DefaultErrorHandler.java
  ===================================================================
  RCS file: /home/cvs/jakarta-tomcat-jasper/jasper2/src/share/org/apache/jasper/compiler/DefaultErrorHandler.java,v
  retrieving revision 1.3
  retrieving revision 1.4
  diff -u -r1.3 -r1.4
  --- DefaultErrorHandler.java	7 Oct 2002 19:37:21 -0000	1.3
  +++ DefaultErrorHandler.java	22 Oct 2002 21:59:57 -0000	1.4
  @@ -96,7 +96,7 @@
   				      + " " + errMsg);
   	} else {
   	    throw new JasperException(fname + "(" + line + "," + column + ")"
  -				      + " " + ex.getMessage());
  +				      + " " + ex);
   	}
       }
   
  @@ -110,7 +110,7 @@
   	if (errMsg != null) {
   	    throw new JasperException(errMsg);
   	} else {
  -	    throw new JasperException(ex.getMessage());
  +	    throw new JasperException(ex);
   	}
       }
   
  
  
  

--
To unsubscribe, e-mail:   <mailto:tomcat-dev-unsubscribe@jakarta.apache.org>
For additional commands, e-mail: <mailto:tomcat-dev-help@jakarta.apache.org>


Mime
View raw message