summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorJoonas Lehtinen <joonas.lehtinen@itmill.com>2008-09-24 08:50:57 +0000
committerJoonas Lehtinen <joonas.lehtinen@itmill.com>2008-09-24 08:50:57 +0000
commitac2322373807877f3b3eda07c9c1c5046693968f (patch)
tree4e3ba5ff845f9f020b9e7115c1fa22ca442a5239 /src
parentd7a9d3d234c43088f70ffe7cf0a89e55a5de5cbd (diff)
downloadvaadin-framework-ac2322373807877f3b3eda07c9c1c5046693968f.tar.gz
vaadin-framework-ac2322373807877f3b3eda07c9c1c5046693968f.zip
Fixed a illogical comment in event passing mechanism
svn changeset:5496/svn branch:trunk
Diffstat (limited to 'src')
-rw-r--r--src/com/itmill/toolkit/event/ListenerMethod.java3
1 files changed, 2 insertions, 1 deletions
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());
}