Revision 44670
trunk/org.gvsig.desktop/org.gvsig.desktop.compat.cdc/org.gvsig.fmap.dal/org.gvsig.fmap.dal.impl/src/main/java/org/gvsig/fmap/dal/feature/impl/DefaultFeature.java | ||
---|---|---|
195 | 195 |
} |
196 | 196 |
} |
197 | 197 |
try { |
198 |
value= attribute.getDataType().coerce(value);
|
|
198 |
value= attribute.getDataType().getCoercion().coerce(value, attribute.getCoercionContext());
|
|
199 | 199 |
} catch (CoercionException e) { |
200 | 200 |
throw new IllegalArgumentException("Can't convert to " |
201 | 201 |
+ attribute.getDataType().getName() |
Also available in: Unified diff