diff options
author | Leif Åstrand <leif@vaadin.com> | 2013-02-12 07:05:30 +0000 |
---|---|---|
committer | Vaadin Code Review <review@vaadin.com> | 2013-02-12 07:05:30 +0000 |
commit | 03e620287b910e6f3f0d03c369f2eaa9a6d15346 (patch) | |
tree | f7f8b22ebb34c2b911eb07f0033440b3de13beab | |
parent | 3cbb4619db102ee955862c562a35927016c8c705 (diff) | |
parent | 7def7f0ebf70eedfe629f0b8f892a77053d9f6d1 (diff) | |
download | vaadin-framework-03e620287b910e6f3f0d03c369f2eaa9a6d15346.tar.gz vaadin-framework-03e620287b910e6f3f0d03c369f2eaa9a6d15346.zip |
Merge "Since #10312 Table wraps a conversion exception in a CacheUpdateException" into 7.0
-rw-r--r-- | uitest/src/com/vaadin/tests/components/table/SetDataSourceWithPropertyIds.java | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/uitest/src/com/vaadin/tests/components/table/SetDataSourceWithPropertyIds.java b/uitest/src/com/vaadin/tests/components/table/SetDataSourceWithPropertyIds.java index f6eb893528..5749912f43 100644 --- a/uitest/src/com/vaadin/tests/components/table/SetDataSourceWithPropertyIds.java +++ b/uitest/src/com/vaadin/tests/components/table/SetDataSourceWithPropertyIds.java @@ -4,7 +4,6 @@ import java.io.Serializable; import java.util.ArrayList; import java.util.List; -import com.vaadin.data.Buffered.SourceException; import com.vaadin.data.util.BeanItemContainer; import com.vaadin.server.VaadinRequest; import com.vaadin.shared.ui.MarginInfo; @@ -12,6 +11,7 @@ import com.vaadin.tests.components.AbstractTestUI; import com.vaadin.ui.Button; import com.vaadin.ui.Label; import com.vaadin.ui.Table; +import com.vaadin.ui.Table.CacheUpdateException; public class SetDataSourceWithPropertyIds extends AbstractTestUI { @@ -71,7 +71,7 @@ public class SetDataSourceWithPropertyIds extends AbstractTestUI { table.setContainerDataSource(jobContainer); table.setVisibleColumns(new String[] { "jobId" }); label.setValue("no Exception"); - } catch (SourceException e) { + } catch (CacheUpdateException e) { ArrayList<String> propertyIds = new ArrayList<String>(); propertyIds.add("jobId"); table.setContainerDataSource(jobContainer, propertyIds); |