tomcat-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From kkoli...@apache.org
Subject svn commit: r831819 - /tomcat/trunk/java/org/apache/catalina/core/ApplicationContextFacade.java
Date Mon, 02 Nov 2009 08:37:41 GMT
Author: kkolinko
Date: Mon Nov  2 08:37:41 2009
New Revision: 831819

URL: http://svn.apache.org/viewvc?rev=831819&view=rev
Log:
Include root cause exception into the one produced by ApplicationContextFacade#doPrivileged()

Modified:
    tomcat/trunk/java/org/apache/catalina/core/ApplicationContextFacade.java

Modified: tomcat/trunk/java/org/apache/catalina/core/ApplicationContextFacade.java
URL: http://svn.apache.org/viewvc/tomcat/trunk/java/org/apache/catalina/core/ApplicationContextFacade.java?rev=831819&r1=831818&r2=831819&view=diff
==============================================================================
--- tomcat/trunk/java/org/apache/catalina/core/ApplicationContextFacade.java (original)
+++ tomcat/trunk/java/org/apache/catalina/core/ApplicationContextFacade.java Mon Nov  2 08:37:41
2009
@@ -680,7 +680,7 @@
         try{
             return invokeMethod(context, methodName, params);
         }catch(Throwable t){
-            throw new RuntimeException(t.getMessage());
+            throw new RuntimeException(t.getMessage(), t);
         }
     }
 



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


Mime
View raw message