mirror of
https://gitee.com/jmix/cuba.git
synced 2024-12-03 03:38:33 +08:00
Fix confusing exception message
This commit is contained in:
parent
f2a84588e4
commit
106f91afbc
@ -102,7 +102,7 @@ public abstract class WebAbstractList<T extends AbstractSelect, E extends Entity
|
||||
Set itemIds = new HashSet();
|
||||
for (Entity item : items) {
|
||||
if (!datasource.containsItem(item.getId())) {
|
||||
throw new IllegalStateException("Datasource doesn't contain items");
|
||||
throw new IllegalStateException("Datasource doesn't contain item to select: " + item);
|
||||
}
|
||||
itemIds.add(item.getId());
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user