tomcat-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From kin...@apache.org
Subject cvs commit: jakarta-tomcat-jasper/jasper2/src/share/org/apache/jasper/runtime PageContextImpl.java JspException.java
Date Thu, 06 Jun 2002 00:19:48 GMT
kinman      2002/06/05 17:19:48

  Modified:    jasper2/src/share/org/apache/jasper/logging
                        JasperLogger.java Logger.java
               jasper2/src/share/org/apache/jasper/runtime
                        PageContextImpl.java
  Removed:     jasper2/src/share/org/apache/jasper/core
                        JasperException.java
               jasper2/src/share/org/apache/jasper/runtime
                        JspException.java
  Log:
  - Removed unused exceptions classes.
  
  Revision  Changes    Path
  1.2       +0 -1      jakarta-tomcat-jasper/jasper2/src/share/org/apache/jasper/logging/JasperLogger.java
  
  Index: JasperLogger.java
  ===================================================================
  RCS file: /home/cvs/jakarta-tomcat-jasper/jasper2/src/share/org/apache/jasper/logging/JasperLogger.java,v
  retrieving revision 1.1
  retrieving revision 1.2
  diff -u -r1.1 -r1.2
  --- JasperLogger.java	28 Mar 2002 18:46:18 -0000	1.1
  +++ JasperLogger.java	6 Jun 2002 00:19:48 -0000	1.2
  @@ -66,7 +66,6 @@
   import javax.servlet.ServletContext;
   
   import org.apache.jasper.util.Queue;
  -//import org.apache.jasper.core.JasperException;
   
   /**
    * A real implementation of the Logger abstraction. 
  
  
  
  1.2       +0 -8      jakarta-tomcat-jasper/jasper2/src/share/org/apache/jasper/logging/Logger.java
  
  Index: Logger.java
  ===================================================================
  RCS file: /home/cvs/jakarta-tomcat-jasper/jasper2/src/share/org/apache/jasper/logging/Logger.java,v
  retrieving revision 1.1
  retrieving revision 1.2
  diff -u -r1.1 -r1.2
  --- Logger.java	28 Mar 2002 18:46:18 -0000	1.1
  +++ Logger.java	6 Jun 2002 00:19:48 -0000	1.2
  @@ -69,7 +69,6 @@
   import java.text.SimpleDateFormat;
   
   import javax.servlet.ServletException;	// for throwableToString()
  -import org.apache.jasper.core.JasperException;	// for throwableToString()
   import org.apache.jasper.util.FastDateFormat;
   
   /**
  @@ -210,13 +209,6 @@
   	    t.printStackTrace(w);
   	    if (t instanceof ServletException) {
   		Throwable cause = ((ServletException)t).getRootCause();
  -		if (cause != null) {
  -		    w.println(rootcause);
  -		    printThrowable(w, cause, rootcause);
  -		}
  -	    }
  -	    else if (t instanceof JasperException) {
  -		Throwable cause = ((JasperException)t).getRootCause();
   		if (cause != null) {
   		    w.println(rootcause);
   		    printThrowable(w, cause, rootcause);
  
  
  
  1.6       +4 -3      jakarta-tomcat-jasper/jasper2/src/share/org/apache/jasper/runtime/PageContextImpl.java
  
  Index: PageContextImpl.java
  ===================================================================
  RCS file: /home/cvs/jakarta-tomcat-jasper/jasper2/src/share/org/apache/jasper/runtime/PageContextImpl.java,v
  retrieving revision 1.5
  retrieving revision 1.6
  diff -u -r1.5 -r1.6
  --- PageContextImpl.java	15 May 2002 20:42:03 -0000	1.5
  +++ PageContextImpl.java	6 Jun 2002 00:19:48 -0000	1.6
  @@ -1,7 +1,7 @@
   /*
  - * $Header: /home/cvs/jakarta-tomcat-jasper/jasper2/src/share/org/apache/jasper/runtime/PageContextImpl.java,v
1.5 2002/05/15 20:42:03 kinman Exp $
  - * $Revision: 1.5 $
  - * $Date: 2002/05/15 20:42:03 $
  + * $Header: /home/cvs/jakarta-tomcat-jasper/jasper2/src/share/org/apache/jasper/runtime/PageContextImpl.java,v
1.6 2002/06/06 00:19:48 kinman Exp $
  + * $Revision: 1.6 $
  + * $Date: 2002/06/06 00:19:48 $
    *
    * ====================================================================
    *
  @@ -85,6 +85,7 @@
   import javax.servlet.jsp.JspFactory;
   import javax.servlet.jsp.JspWriter;
   import javax.servlet.jsp.tagext.BodyContent;
  +import javax.servlet.jsp.JspException;
   
   import org.apache.jasper.Constants;
   import org.apache.jasper.logging.Logger;
  
  
  

--
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