Revision 47652 trunk/org.gvsig.desktop/org.gvsig.desktop.compat.cdc/org.gvsig.fmap.dal/org.gvsig.fmap.dal.file/org.gvsig.fmap.dal.file.csv/src/main/java/org/gvsig/fmap/dal/store/simplereader/SimpleReaderSetProvider.java
SimpleReaderSetProvider.java | ||
---|---|---|
54 | 54 |
|
55 | 55 |
@Override |
56 | 56 |
protected void doLoad() { |
57 |
long index=-1; |
|
57 | 58 |
try { |
59 |
index = this.getOID(); |
|
58 | 60 |
SimpleReaderStoreProvider.RowToFeatureTranslator translator = this.store.getRowToFeatureTranslator(); |
59 |
long index = this.getOID(); |
|
60 | 61 |
List<String> row = this.store.getRowByIndex(index); |
61 | 62 |
translator.translate(index, row, this); |
62 |
} catch (Exception ex) {
|
|
63 |
throw new ReadRuntimeException(getStoreFullName(), this.getOID(), ex);
|
|
63 |
} catch (Throwable ex) {
|
|
64 |
throw new ReadRuntimeException(getStoreFullName(), index, ex);
|
|
64 | 65 |
} |
65 | 66 |
} |
66 | 67 |
|
Also available in: Unified diff