Revision 10626 trunk/applications/appgvSIG/src/com/iver/cit/gvsig/TableEditInsertExtension.java
TableEditInsertExtension.java | ||
---|---|---|
40 | 40 |
*/ |
41 | 41 |
package com.iver.cit.gvsig; |
42 | 42 |
|
43 |
import java.io.IOException; |
|
44 |
|
|
43 |
import com.hardcode.gdbms.driver.exceptions.ReadDriverException; |
|
45 | 44 |
import com.iver.andami.PluginServices; |
46 | 45 |
import com.iver.andami.messages.NotificationManager; |
47 | 46 |
import com.iver.andami.plugins.Extension; |
48 | 47 |
import com.iver.andami.ui.mdiManager.IWindow; |
49 |
import com.iver.cit.gvsig.fmap.drivers.DriverIOException; |
|
48 |
import com.iver.cit.gvsig.exceptions.expansionfile.ExpansionFileWriteException; |
|
49 |
import com.iver.cit.gvsig.exceptions.validate.ValidateRowException; |
|
50 | 50 |
import com.iver.cit.gvsig.project.documents.table.gui.Table; |
51 | 51 |
|
52 | 52 |
|
... | ... | |
71 | 71 |
|
72 | 72 |
try { |
73 | 73 |
((Table) v).addRow(null); |
74 |
} catch (DriverIOException e) { |
|
75 |
NotificationManager.addError("No se pudo insertar la fila", e); |
|
76 |
} catch (IOException e) { |
|
74 |
} catch (ValidateRowException e) { |
|
77 | 75 |
NotificationManager.addError("No se pudo insertar la fila", e); |
76 |
} catch (ReadDriverException e) { |
|
77 |
NotificationManager.addError("No se pudo insertar la fila", e); |
|
78 |
} catch (ExpansionFileWriteException e) { |
|
79 |
NotificationManager.addError("No se pudo insertar la fila", e); |
|
78 | 80 |
} |
79 | 81 |
} |
80 | 82 |
|
Also available in: Unified diff