]> source.dussan.org Git - vaadin-framework.git/commitdiff
Fixed a illogical comment in event passing mechanism
authorJoonas Lehtinen <joonas.lehtinen@itmill.com>
Wed, 24 Sep 2008 08:50:57 +0000 (08:50 +0000)
committerJoonas Lehtinen <joonas.lehtinen@itmill.com>
Wed, 24 Sep 2008 08:50:57 +0000 (08:50 +0000)
svn changeset:5496/svn branch:trunk

src/com/itmill/toolkit/event/ListenerMethod.java

index 42b298b0ce4543f4f4ee4e950e58f9773c881d53..03d54ad38aca61e92c8e5dd45f2a42c13ba90607 100644 (file)
@@ -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());
             }