Revision 10760 trunk/extensions/extWFS2/src/com/iver/cit/gvsig/fmap/layers/WFSAdapter.java
WFSAdapter.java | ||
---|---|---|
64 | 64 |
* (non-Javadoc) |
65 | 65 |
* @see com.iver.cit.gvsig.fmap.layers.ReadableVectorial#getRecordset() |
66 | 66 |
*/ |
67 |
public SelectableDataSource getRecordset() throws ReadDriverException, DriverLoadException {
|
|
67 |
public SelectableDataSource getRecordset() throws ReadDriverException { |
|
68 | 68 |
if (driver instanceof WFSDriver) |
69 | 69 |
{ |
70 | 70 |
String name = LayerFactory.getDataSourceFactory().addDataSource((ObjectDriver)driver); |
... | ... | |
73 | 73 |
ds = new SelectableDataSource(LayerFactory.getDataSourceFactory().createRandomDataSource(name, DataSourceFactory.AUTOMATIC_OPENING)); |
74 | 74 |
} catch (NoSuchTableException e) { |
75 | 75 |
throw new RuntimeException(e); |
76 |
} catch (DriverLoadException e) { |
|
77 |
throw new RuntimeException(e); |
|
76 | 78 |
} |
77 | 79 |
} |
78 | 80 |
return ds; |
Also available in: Unified diff