From: Joonas Lehtinen Date: Wed, 24 Sep 2008 08:50:57 +0000 (+0000) Subject: Fixed a illogical comment in event passing mechanism X-Git-Tag: 6.7.0.beta1~4105 X-Git-Url: https://source.dussan.org/?a=commitdiff_plain;h=ac2322373807877f3b3eda07c9c1c5046693968f;p=vaadin-framework.git Fixed a illogical comment in event passing mechanism svn changeset:5496/svn branch:trunk --- diff --git a/src/com/itmill/toolkit/event/ListenerMethod.java b/src/com/itmill/toolkit/event/ListenerMethod.java index 42b298b0ce..03d54ad38a 100644 --- a/src/com/itmill/toolkit/event/ListenerMethod.java +++ b/src/com/itmill/toolkit/event/ListenerMethod.java @@ -425,7 +425,8 @@ public class ListenerMethod implements EventListener { throw new java.lang.RuntimeException( "Internal error - please report", e); } catch (final java.lang.reflect.InvocationTargetException e) { - // This should never happen + // An exception was thrown by the invocation target. Throw it + // forwards. throw new MethodException("Invocation of method " + method + " failed.", e.getTargetException()); }