tomcat-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From a...@locus.apache.org
Subject cvs commit: jakarta-tomcat/src/share/org/apache/jasper/compiler BeanGenerator.java
Date Thu, 13 Jul 2000 16:52:00 GMT
alex        00/07/13 09:51:58

  Modified:    src/share/org/apache/jasper/compiler BeanGenerator.java
  Log:
  Minor bug fix: Generated code now handles exceptions during bean
  instantiation by creating a ServletException that contains the
  original exception as a root cause.  That way the logger can report
  the true exception.
  
  Revision  Changes    Path
  1.8       +4 -4      jakarta-tomcat/src/share/org/apache/jasper/compiler/BeanGenerator.java
  
  Index: BeanGenerator.java
  ===================================================================
  RCS file: /home/cvs/jakarta-tomcat/src/share/org/apache/jasper/compiler/BeanGenerator.java,v
  retrieving revision 1.7
  retrieving revision 1.8
  diff -u -r1.7 -r1.8
  --- BeanGenerator.java	2000/06/11 21:41:06	1.7
  +++ BeanGenerator.java	2000/07/13 16:51:57	1.8
  @@ -1,7 +1,7 @@
   /*
  - * $Header: /home/cvs/jakarta-tomcat/src/share/org/apache/jasper/compiler/BeanGenerator.java,v
1.7 2000/06/11 21:41:06 mandar Exp $
  - * $Revision: 1.7 $
  - * $Date: 2000/06/11 21:41:06 $
  + * $Header: /home/cvs/jakarta-tomcat/src/share/org/apache/jasper/compiler/BeanGenerator.java,v
1.8 2000/07/13 16:51:57 alex Exp $
  + * $Revision: 1.8 $
  + * $Date: 2000/07/13 16:51:57 $
    * The Apache Software License, Version 1.1
    *
    * Copyright (c) 1999 The Apache Software Foundation.  All rights 
  @@ -355,7 +355,7 @@
   	writer.println ("} catch (Exception exc) {");
   	writer.pushIndent ();
   	writer.println (" throw new ServletException (\" Cannot create bean of class \""  +
  -			"+\"" + clsname + "\");"); 
  +			"+\"" + clsname + "\", exc);"); 
   	writer.popIndent ();
   	writer.println ("}");
   	
  
  
  

Mime
View raw message