]> source.dussan.org Git - vaadin-framework.git/commitdiff
Added e.printStackTrace() for "this should never happen" block. It does happens due...
authorJani Laakso <jani.laakso@itmill.com>
Thu, 27 Dec 2007 15:41:32 +0000 (15:41 +0000)
committerJani Laakso <jani.laakso@itmill.com>
Thu, 27 Dec 2007 15:41:32 +0000 (15:41 +0000)
svn changeset:3312/svn branch:trunk

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

index 0b0d51cf5815dcf0781993146c223949c2b0d861..eaaf2a4e0fc011a60132e561f57eb44243f14eb3 100644 (file)
@@ -432,10 +432,12 @@ public class ListenerMethod implements EventListener {
 
             } catch (final java.lang.IllegalAccessException e) {
                 // This should never happen
+                e.printStackTrace();
                 throw new java.lang.RuntimeException(
                         "Internal error - please report: " + e.toString());
             } catch (final java.lang.reflect.InvocationTargetException e) {
                 // This should never happen
+                e.printStackTrace();
                 throw new MethodException("Invocation if method " + method
                         + " failed.", e.getTargetException());
             }