Revision 44744 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/DefaultEditableFeatureAttributeDescriptor.java
DefaultEditableFeatureAttributeDescriptor.java | ||
---|---|---|
170 | 170 |
this.getFeatureType(), |
171 | 171 |
expression |
172 | 172 |
); |
173 |
if( !emulator.isValid() ) { |
|
174 |
this.setFeatureAttributeEmulator(emulator); |
|
175 |
throw new IllegalArgumentException("Can't create calculated field '"+this.getName()+"', "+emulator.getErrorMessage()); |
|
176 |
} |
|
177 | 173 |
return this.setFeatureAttributeEmulator(emulator); |
178 | 174 |
} |
179 | 175 |
|
Also available in: Unified diff