Revision 3271 trunk/libraries/libFMap/src/com/iver/cit/gvsig/fmap/layers/VectorialDBAdapter.java
VectorialDBAdapter.java | ||
---|---|---|
140 | 140 |
*/ |
141 | 141 |
public IGeometry getShape(int index) throws DriverIOException { |
142 | 142 |
IGeometry geom = null; |
143 |
geom = ((VectorialDatabaseDriver)driver).getShape(index); |
|
143 |
try { |
|
144 |
geom = ((VectorialDatabaseDriver)driver).getShape(index); |
|
145 |
} catch (IOException e) { |
|
146 |
throw new DriverIOException(e); |
|
147 |
} |
|
144 | 148 |
return geom; |
145 | 149 |
} |
146 | 150 |
|
Also available in: Unified diff