From: kkolinko Date: Mon, 2 Nov 2009 08:37:41 +0000 (+0000) Subject: Include root cause exception into the one produced by ApplicationContextFacade#doPriv... X-Git-Url: https://git.internetallee.de/?a=commitdiff_plain;h=927165f040a5f1e58c0ba252b198f23a52ffa76c;p=tomcat7.0 Include root cause exception into the one produced by ApplicationContextFacade#doPrivileged() git-svn-id: https://svn.apache.org/repos/asf/tomcat/trunk@831819 13f79535-47bb-0310-9956-ffa450edef68 --- diff --git a/java/org/apache/catalina/core/ApplicationContextFacade.java b/java/org/apache/catalina/core/ApplicationContextFacade.java index 92f843def..52b998d46 100644 --- a/java/org/apache/catalina/core/ApplicationContextFacade.java +++ b/java/org/apache/catalina/core/ApplicationContextFacade.java @@ -680,7 +680,7 @@ public final class ApplicationContextFacade try{ return invokeMethod(context, methodName, params); }catch(Throwable t){ - throw new RuntimeException(t.getMessage()); + throw new RuntimeException(t.getMessage(), t); } }