]> source.dussan.org Git - vaadin-framework.git/commitdiff
Since #10312 Table wraps a conversion exception in a CacheUpdateException
authorArtur Signell <artur@vaadin.com>
Mon, 11 Feb 2013 18:33:15 +0000 (20:33 +0200)
committerArtur Signell <artur@vaadin.com>
Mon, 11 Feb 2013 18:33:15 +0000 (20:33 +0200)
Change-Id: Id2772118a673555db21bb8b5f8d6126459eb688e

uitest/src/com/vaadin/tests/components/table/SetDataSourceWithPropertyIds.java

index f6eb8935284346cab797d964e75d2951ee955fd2..5749912f434760024f76780cefcf25e007bdfadb 100644 (file)
@@ -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);