diff options
author | Joonas Lehtinen <joonas.lehtinen@itmill.com> | 2008-09-24 08:50:57 +0000 |
---|---|---|
committer | Joonas Lehtinen <joonas.lehtinen@itmill.com> | 2008-09-24 08:50:57 +0000 |
commit | ac2322373807877f3b3eda07c9c1c5046693968f (patch) | |
tree | 4e3ba5ff845f9f020b9e7115c1fa22ca442a5239 /src | |
parent | d7a9d3d234c43088f70ffe7cf0a89e55a5de5cbd (diff) | |
download | vaadin-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.java | 3 |
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()); } |