--- org/apache/hivemind/ApplicationRuntimeException.java 2004-06-16 19:04:22.000000000 +0200 +++ ../../../../hivemind/framework/src/java/org/apache/hivemind/ApplicationRuntimeException.java 2004-07-06 15:23:51.322500000 +0200 @@ -14,9 +14,11 @@ package org.apache.hivemind; +import java.lang.reflect.InvocationTargetException; + /** * General wrapper for any exception (normal or runtime) that may occur during - * runtime processing for the application. This is exception is used + * runtime processing for the application. This exception is used * when the intent is to communicate a low-level failure to the user or * developer; it is not expected to be caught. The {@link #getRootCause() rootCause} * property is a nested exception. @@ -51,8 +53,12 @@ Location location, Throwable rootCause) { - super(message); - + /* c.domsch, 6.7.04: Inited cause, so that stacktraces correctly print + * out exceptions when thrown inside proxies for example (while setting + * properties - so that you see more than InvocationTargetException + * without any hint what caused the ITE). */ + super(message, rootCause); + _rootCause = rootCause; _component = component;