Author: remy.maucherat(a)jboss.com
Date: 2009-11-02 17:17:08 -0500 (Mon, 02 Nov 2009)
New Revision: 1236
Modified:
trunk/java/org/apache/catalina/core/ApplicationContextFacade.java
Log:
- Port patch: pass cause exception.
Modified: trunk/java/org/apache/catalina/core/ApplicationContextFacade.java
===================================================================
--- trunk/java/org/apache/catalina/core/ApplicationContextFacade.java 2009-11-02 01:33:52
UTC (rev 1235)
+++ trunk/java/org/apache/catalina/core/ApplicationContextFacade.java 2009-11-02 22:17:08
UTC (rev 1236)
@@ -675,7 +675,7 @@
try{
return invokeMethod(appContext, methodName, params );
} catch (Throwable t){
- throw new RuntimeException(t.getMessage());
+ throw new RuntimeException(t.getMessage(), t);
}
}
@@ -692,7 +692,7 @@
try{
return invokeMethod(context, methodName, params);
}catch(Throwable t){
- throw new RuntimeException(t.getMessage());
+ throw new RuntimeException(t.getMessage(), t);
}
}
Show replies by date