Revision 46734
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 | ||
---|---|---|
1422 | 1422 |
} else { |
1423 | 1423 |
value = this.get(attrdesc.getIndex()); |
1424 | 1424 |
} |
1425 |
String label = attrdesc.getLabelOfValue(value); |
|
1425 |
String label; |
|
1426 |
try { |
|
1427 |
label = attrdesc.getLabelOfValue(value); |
|
1428 |
} catch(Throwable th) { |
|
1429 |
label = Objects.toString(value, ""); |
|
1430 |
} |
|
1426 | 1431 |
return label; |
1427 | 1432 |
} |
1428 | 1433 |
|
Also available in: Unified diff