浏览代码

Improve error message for missing class name id (#14643)

Change-Id: I71a96985fab62b648207393916566f3e1d757ad1
tags/7.4.0.beta1
Leif Åstrand 9 年前
父节点
当前提交
38125ebc3b
共有 1 个文件被更改,包括 5 次插入1 次删除
  1. 5
    1
      client/src/com/vaadin/client/ApplicationConfiguration.java

+ 5
- 1
client/src/com/vaadin/client/ApplicationConfiguration.java 查看文件

@@ -547,7 +547,11 @@ public class ApplicationConfiguration implements EntryPoint {

String getUnknownServerClassNameByTag(int tag) {
if (unknownComponents != null) {
return unknownComponents.get(tag);
String className = unknownComponents.get(tag);
if (className == null) {
className = "unknown class with id " + tag;
}
return className;
}
return null;
}

正在加载...
取消
保存