Revision 10626 trunk/extensions/extCAD/src/com/iver/cit/gvsig/gui/cad/tools/InternalPolygonCADTool.java
InternalPolygonCADTool.java | ||
---|---|---|
45 | 45 |
import java.awt.event.InputEvent; |
46 | 46 |
import java.awt.geom.PathIterator; |
47 | 47 |
import java.awt.geom.Point2D; |
48 |
import java.io.IOException; |
|
49 | 48 |
import java.util.ArrayList; |
50 | 49 |
|
50 |
import com.hardcode.gdbms.driver.exceptions.ReadDriverException; |
|
51 | 51 |
import com.iver.andami.PluginServices; |
52 | 52 |
import com.iver.cit.gvsig.CADExtension; |
53 |
import com.iver.cit.gvsig.exceptions.expansionfile.ExpansionFileReadException; |
|
54 |
import com.iver.cit.gvsig.exceptions.expansionfile.ExpansionFileWriteException; |
|
55 |
import com.iver.cit.gvsig.exceptions.validate.ValidateRowException; |
|
53 | 56 |
import com.iver.cit.gvsig.fmap.core.DefaultFeature; |
54 | 57 |
import com.iver.cit.gvsig.fmap.core.FGeometryCollection; |
55 | 58 |
import com.iver.cit.gvsig.fmap.core.FShape; |
... | ... | |
58 | 61 |
import com.iver.cit.gvsig.fmap.core.IGeometry; |
59 | 62 |
import com.iver.cit.gvsig.fmap.core.ShapeFactory; |
60 | 63 |
import com.iver.cit.gvsig.fmap.core.v02.FConverter; |
61 |
import com.iver.cit.gvsig.fmap.drivers.DriverIOException; |
|
62 | 64 |
import com.iver.cit.gvsig.fmap.edition.DefaultRowEdited; |
63 | 65 |
import com.iver.cit.gvsig.fmap.edition.EditionEvent; |
64 | 66 |
import com.iver.cit.gvsig.fmap.edition.IRowEdited; |
... | ... | |
202 | 204 |
DefaultRowEdited dre=new DefaultRowEdited(df,DefaultRowEdited.STATUS_MODIFIED,row.getIndex()); |
203 | 205 |
try { |
204 | 206 |
vea.modifyRow(dre.getIndex(),dre.getLinkedRow(),getName(),EditionEvent.GRAPHIC); |
205 |
} catch (IOException e) { |
|
207 |
} catch (ValidateRowException e) { |
|
208 |
// TODO Auto-generated catch block |
|
206 | 209 |
e.printStackTrace(); |
207 |
} catch (DriverIOException e) { |
|
210 |
} catch (ExpansionFileWriteException e) { |
|
211 |
// TODO Auto-generated catch block |
|
208 | 212 |
e.printStackTrace(); |
213 |
} catch (ReadDriverException e) { |
|
214 |
// TODO Auto-generated catch block |
|
215 |
e.printStackTrace(); |
|
216 |
} catch (ExpansionFileReadException e) { |
|
217 |
// TODO Auto-generated catch block |
|
218 |
e.printStackTrace(); |
|
209 | 219 |
} |
210 | 220 |
ArrayList rows=new ArrayList(); |
211 | 221 |
rows.add(dre); |
Also available in: Unified diff