Revision 42811 trunk/org.gvsig.desktop/org.gvsig.desktop.compat.cdc/org.gvsig.fmap.dal/org.gvsig.fmap.dal.file/org.gvsig.fmap.dal.file.dbf/src/main/java/org/gvsig/fmap/dal/store/dbf/DBFStoreProvider.java
DBFStoreProvider.java | ||
---|---|---|
205 | 205 |
params.setRoot(this.getDBFParameters().getDBFFile().getParent()); |
206 | 206 |
return manager.openServerExplorer(FilesystemServerExplorer.NAME, params); |
207 | 207 |
} catch (DataException e) { |
208 |
throw new ReadException(this.getProviderName(), e);
|
|
208 |
throw new ReadException(this.getName(), e); |
|
209 | 209 |
} catch (ValidateDataParametersException e) { |
210 | 210 |
// TODO Auto-generated catch block |
211 |
throw new ReadException(this.getProviderName(), e);
|
|
211 |
throw new ReadException(this.getName(), e); |
|
212 | 212 |
} |
213 | 213 |
} |
214 | 214 |
|
... | ... | |
489 | 489 |
try { |
490 | 490 |
value = this.dbfFile.getStringFieldValue(rowIndex, dbfIndex); |
491 | 491 |
} catch (DataException e) { |
492 |
throw new ReadException(this.getProviderName(), e);
|
|
492 |
throw new ReadException(this.getName(), e); |
|
493 | 493 |
} |
494 | 494 |
value = value.trim(); |
495 | 495 |
int fieldType = descriptor.getType(); |
... | ... | |
748 | 748 |
|
749 | 749 |
if (index >= rec_count) { |
750 | 750 |
|
751 |
ReadException rex = new ReadException(NAME,
|
|
751 |
ReadException rex = new ReadException(this.getName(),
|
|
752 | 752 |
new ArrayIndexOutOfBoundsException( |
753 | 753 |
"Index of requested feature (" |
754 | 754 |
+ index + ") is >= record count (" + rec_count + ")")); |
Also available in: Unified diff