From ac2322373807877f3b3eda07c9c1c5046693968f Mon Sep 17 00:00:00 2001 From: Joonas Lehtinen Date: Wed, 24 Sep 2008 08:50:57 +0000 Subject: [PATCH] Fixed a illogical comment in event passing mechanism svn changeset:5496/svn branch:trunk --- src/com/itmill/toolkit/event/ListenerMethod.java | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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()); } -- 2.39.5