Revision 10627 trunk/libraries/libFMap/src/com/iver/cit/gvsig/fmap/drivers/shp/write/DBFFromSelected.java
DBFFromSelected.java | ||
---|---|---|
46 | 46 |
import java.nio.channels.FileChannel; |
47 | 47 |
import java.nio.channels.WritableByteChannel; |
48 | 48 |
|
49 |
import com.hardcode.gdbms.engine.data.driver.DriverException;
|
|
49 |
import com.hardcode.gdbms.driver.exceptions.ReadDriverException;
|
|
50 | 50 |
import com.iver.cit.gvsig.fmap.core.IGeometry; |
51 | 51 |
import com.iver.cit.gvsig.fmap.drivers.shp.DbaseFileHeaderNIO; |
52 | 52 |
import com.iver.cit.gvsig.fmap.drivers.shp.DbaseFileWriterNIO; |
... | ... | |
132 | 132 |
|
133 | 133 |
///} catch (DriverException e1) { |
134 | 134 |
// e1.printStackTrace(); |
135 |
} catch (DriverException e) { |
|
135 |
} catch (ReadDriverException e) {
|
|
136 | 136 |
e.printStackTrace(); |
137 | 137 |
} |
138 | 138 |
|
... | ... | |
171 | 171 |
} |
172 | 172 |
} catch (IOException e1) { |
173 | 173 |
e1.printStackTrace(); |
174 |
} catch (DriverException e) { |
|
174 |
} catch (ReadDriverException e) {
|
|
175 | 175 |
e.printStackTrace(); |
176 | 176 |
} |
177 | 177 |
} |
178 | 178 |
} |
179 | 179 |
|
180 |
|
|
181 | 180 |
|
181 |
|
|
182 | 182 |
private WritableByteChannel getWriteChannel(String path) |
183 | 183 |
throws IOException { |
184 | 184 |
WritableByteChannel channel; |
Also available in: Unified diff