summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorArtur Signell <artur@vaadin.com>2013-12-16 17:18:13 +0100
committerVaadin Code Review <review@vaadin.com>2013-12-18 08:28:47 +0000
commitea8f381d440b3d5d3d7785b7b235155263aaab2a (patch)
tree559d56748f763718543be269caf16c7d7b492cba
parent8245079252865d19a929c86bfd67cbe139259f18 (diff)
downloadvaadin-framework-ea8f381d440b3d5d3d7785b7b235155263aaab2a.tar.gz
vaadin-framework-ea8f381d440b3d5d3d7785b7b235155263aaab2a.zip
Show the widgetset name to more easily spot misconfigurations
Change-Id: I69e2995489e9f573718a053c34fe8736988e3f90
-rw-r--r--client/src/com/vaadin/client/ui/UnknownComponentConnector.java6
1 files changed, 5 insertions, 1 deletions
diff --git a/client/src/com/vaadin/client/ui/UnknownComponentConnector.java b/client/src/com/vaadin/client/ui/UnknownComponentConnector.java
index ca461eb640..b9b0388d9a 100644
--- a/client/src/com/vaadin/client/ui/UnknownComponentConnector.java
+++ b/client/src/com/vaadin/client/ui/UnknownComponentConnector.java
@@ -16,6 +16,8 @@
package com.vaadin.client.ui;
+import com.google.gwt.core.client.GWT;
+
public class UnknownComponentConnector extends AbstractComponentConnector {
@Override
@@ -31,7 +33,9 @@ public class UnknownComponentConnector extends AbstractComponentConnector {
public void setServerSideClassName(String serverClassName) {
getWidget()
.setCaption(
- "Widgetset does not contain implementation for "
+ "Widgetset '"
+ + GWT.getModuleName()
+ + "' does not contain implementation for "
+ serverClassName
+ ". Check its component connector's @Connect mapping, widgetsets "
+ "GWT module description file and re-compile your"