Revision 10665 trunk/libraries/libFMap/src/com/iver/cit/gvsig/fmap/layers/VectorialDisconnectedDBAdapter.java
VectorialDisconnectedDBAdapter.java | ||
---|---|---|
128 | 128 |
* @throws ReadDriverException |
129 | 129 |
* @see com.iver.cit.gvsig.fmap.layers.VectorialAdapter#getRecordset() |
130 | 130 |
*/ |
131 |
public SelectableDataSource getRecordset() throws DriverLoadException, ReadDriverException {
|
|
131 |
public SelectableDataSource getRecordset() throws ReadDriverException { |
|
132 | 132 |
if (driver instanceof ObjectDriver) |
133 | 133 |
{ |
134 | 134 |
String name = LayerFactory.getDataSourceFactory().addDataSource((ObjectDriver)driver); |
... | ... | |
136 | 136 |
ds = new SelectableDataSource(LayerFactory.getDataSourceFactory().createRandomDataSource(name, DataSourceFactory.AUTOMATIC_OPENING)); |
137 | 137 |
} catch (NoSuchTableException e) { |
138 | 138 |
throw new RuntimeException(e); |
139 |
} catch (DriverLoadException e) { |
|
140 |
throw new ReadDriverException(name,e); |
|
139 | 141 |
} |
140 | 142 |
} |
141 | 143 |
return ds; |
... | ... | |
266 | 268 |
status = LOCAL; |
267 | 269 |
} catch (IOException e) { |
268 | 270 |
throw new RuntimeException(e); |
269 |
} catch (DriverLoadException e) { |
|
270 |
throw new RuntimeException(e); |
|
271 | 271 |
} catch (ReadDriverException e) { |
272 | 272 |
throw new RuntimeException(e); |
273 | 273 |
} |
Also available in: Unified diff