Revision 10665 trunk/libraries/libFMap/src/com/iver/cit/gvsig/fmap/layers/VectorialDefaultAdapter.java
VectorialDefaultAdapter.java | ||
---|---|---|
59 | 59 |
/* (non-Javadoc) |
60 | 60 |
* @see com.iver.cit.gvsig.fmap.layers.VectorialAdapter#getRecordset() |
61 | 61 |
*/ |
62 |
public SelectableDataSource getRecordset() throws DriverLoadException, ReadDriverException {
|
|
62 |
public SelectableDataSource getRecordset() throws ReadDriverException { |
|
63 | 63 |
if (getDriver() instanceof ObjectDriver) |
64 | 64 |
{ |
65 | 65 |
if (ds == null) { |
... | ... | |
68 | 68 |
ds = new SelectableDataSource(LayerFactory.getDataSourceFactory().createRandomDataSource(name, DataSourceFactory.AUTOMATIC_OPENING)); |
69 | 69 |
} catch (NoSuchTableException e) { |
70 | 70 |
throw new RuntimeException(e); |
71 |
} |
|
71 |
} catch (DriverLoadException e) { |
|
72 |
throw new ReadDriverException(name,e); |
|
73 |
} |
|
72 | 74 |
} |
73 | 75 |
return ds; |
74 | 76 |
} |
Also available in: Unified diff