diff options
author | Jouni Koivuviita <jouni@vaadin.com> | 2012-08-07 15:35:55 +0300 |
---|---|---|
committer | Jouni Koivuviita <jouni@vaadin.com> | 2012-08-07 15:35:55 +0300 |
commit | d422eba61ba6e8ef82c72fa661ff4991f8918ec0 (patch) | |
tree | 1e4f1c8f7f2d8b3543eed1991709a43889466446 /src/com/vaadin/terminal/gwt/server/ServerRpcMethodInvocation.java | |
parent | ef744edf4a0e849932d30bd9d6870ec15f391225 (diff) | |
parent | 23fcb95f1a8b2fda7f6b7d648634ec21463da875 (diff) | |
download | vaadin-framework-d422eba61ba6e8ef82c72fa661ff4991f8918ec0.tar.gz vaadin-framework-d422eba61ba6e8ef82c72fa661ff4991f8918ec0.zip |
Boxlayout
Diffstat (limited to 'src/com/vaadin/terminal/gwt/server/ServerRpcMethodInvocation.java')
-rw-r--r-- | src/com/vaadin/terminal/gwt/server/ServerRpcMethodInvocation.java | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/src/com/vaadin/terminal/gwt/server/ServerRpcMethodInvocation.java b/src/com/vaadin/terminal/gwt/server/ServerRpcMethodInvocation.java index 6f278f7797..95565c4379 100644 --- a/src/com/vaadin/terminal/gwt/server/ServerRpcMethodInvocation.java +++ b/src/com/vaadin/terminal/gwt/server/ServerRpcMethodInvocation.java @@ -79,6 +79,12 @@ public class ServerRpcMethodInvocation extends MethodInvocation { } } + if (invocationMethod == null) { + throw new IllegalStateException("Can't find method " + methodName + + " with " + parameterCount + " parameters in " + + targetType.getName()); + } + return invocationMethod; } |