Author: markt
Date: Sat Jan 27 16:51:28 2007
New Revision: 500713

URL: http://svn.apache.org/viewvc?view=rev&rev=500713
Log:
Fix getting the nested exception of the standard Exception class

Modified:
    
tomcat/container/tc5.5.x/catalina/src/share/org/apache/catalina/valves/ErrorReportValve.java

Modified: 
tomcat/container/tc5.5.x/catalina/src/share/org/apache/catalina/valves/ErrorReportValve.java
URL: 
http://svn.apache.org/viewvc/tomcat/container/tc5.5.x/catalina/src/share/org/apache/catalina/valves/ErrorReportValve.java?view=diff&rev=500713&r1=500712&r2=500713
==============================================================================
--- 
tomcat/container/tc5.5.x/catalina/src/share/org/apache/catalina/valves/ErrorReportValve.java
 (original)
+++ 
tomcat/container/tc5.5.x/catalina/src/share/org/apache/catalina/valves/ErrorReportValve.java
 Sat Jan 27 16:51:28 2007
@@ -269,8 +269,10 @@
 
                     if (rootCause == nestedRootCause)
                         rootCause = null;
-                    else
+                    else {
                         rootCause = nestedRootCause;
+                        nestedRootCause = null;
+                    }
                 } catch (ClassCastException e) {
                     rootCause = null;
                 }



---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to