Revision 10626 trunk/applications/appgvSIG/src/com/iver/cit/gvsig/TableOperations.java

View differences:

TableOperations.java
44 44
import java.io.IOException;
45 45

  
46 46
import com.hardcode.driverManager.DriverLoadException;
47
import com.hardcode.gdbms.driver.exceptions.ReadDriverException;
47 48
import com.hardcode.gdbms.engine.data.DataSource;
48 49
import com.hardcode.gdbms.engine.data.DataSourceFactory;
49 50
import com.hardcode.gdbms.engine.instruction.EvaluationException;
......
121 122
							try {
122 123
								sds = sourceProjectTable.getModelo().getRecordset();
123 124
							} catch (DriverLoadException e1) {
124
								// TODO Auto-generated catch block
125 125
								e1.printStackTrace();
126
							} catch (ReadDriverException e) {
127
								e.printStackTrace();
126 128
							}
127 129
							String tableName1 = sds.getName();
128 130

  
......
130 132
							try {
131 133
								sds = targetProjectTable.getModelo().getRecordset();
132 134
							} catch (DriverLoadException e1) {
133
								// TODO Auto-generated catch block
134 135
								e1.printStackTrace();
136
							} catch (ReadDriverException e) {
137
								e.printStackTrace();
135 138
							}
136 139

  
137 140
							String tableName2 = sds.getName();
......
158 161
							} catch (DriverLoadException e) {
159 162
								NotificationManager.addError("Error con la carga de drivers",
160 163
									e);
161
							} catch (com.hardcode.gdbms.engine.data.driver.DriverException e) {
164
							} catch (ReadDriverException e) {
162 165
								NotificationManager.addError("Error leyendo del driver",
163 166
									e);
164 167
							} catch (SemanticException e) {
165 168
								throw new RuntimeException(e);
166
							} catch (IOException e) {
167
								NotificationManager.addError("Error de entrada/salida",
168
									e);
169 169
							} catch (EvaluationException e) {
170 170
								NotificationManager.addError("Error de evaluaci?n de la expresi?n",
171 171
										e);
......
189 189
									NotificationManager.addError("Error obteniendo los campos de la tabla",
190 190
										e);
191 191
								} catch (DriverLoadException e) {
192
									// TODO Auto-generated catch block
193
									e.printStackTrace();
192
									NotificationManager.addError("Error obteniendo los campos de la tabla",
193
											e);
194
								} catch (ReadDriverException e) {
195
									NotificationManager.addError("Error obteniendo los campos de la tabla",
196
											e);
194 197
								}
195 198
							} else if (w.currentStep == 3) {
196 199
								try {
......
210 213
								} catch (SelectionException e) {
211 214
									NotificationManager.addError("Error obteniendo los campos de la tabla",
212 215
										e);
213
								} catch (com.hardcode.gdbms.engine.data.driver.DriverException e) {
216
								} catch (ReadDriverException e) {
214 217
									NotificationManager.addError("Error obteniendo los campos de la tabla",
215 218
										e);
216 219
								} catch (DriverLoadException e) {
......
262 265
							SelectableDataSource sds1=null;;
263 266
							try {
264 267
								sds1 = sourceProjectTable.getModelo().getRecordset();
265
							} catch (DriverLoadException e) {
266
								// TODO Auto-generated catch block
268
							} catch (ReadDriverException e) {
267 269
								e.printStackTrace();
268 270
							}
269 271
							//String tableName1 = sds1.getName();
......
272 274
							SelectableDataSource sds2=null;
273 275
							try {
274 276
								sds2 = targetProjectTable.getModelo().getRecordset();
275
							} catch (DriverLoadException e) {
276
								// TODO Auto-generated catch block
277
							} catch (ReadDriverException e) {
277 278
								e.printStackTrace();
278 279
							}
279 280

  
......
301 302
								} catch (SelectionException e) {
302 303
									NotificationManager.addError("Error obteniendo los campos de la tabla",
303 304
										e);
304
								} catch (DriverLoadException e) {
305
									// TODO Auto-generated catch block
305
								} catch (ReadDriverException e) {
306 306
									e.printStackTrace();
307 307
								}
308 308
							} else if (w.currentStep == 3) {
......
323 323
								} catch (SelectionException e) {
324 324
									NotificationManager.addError("Error obteniendo los campos de la tabla",
325 325
										e);
326
								} catch (com.hardcode.gdbms.engine.data.driver.DriverException e) {
326
								} catch (ReadDriverException e) {
327 327
									NotificationManager.addError("Error obteniendo los campos de la tabla",
328 328
										e);
329 329
								} catch (DriverLoadException e) {
......
385 385
			return ds.getWhereFilter();
386 386
		} catch (DriverLoadException e) {
387 387
			NotificationManager.addError("Error cargando el driver", e);
388
		} catch (com.hardcode.gdbms.engine.data.driver.DriverException e) {
388
		} catch (ReadDriverException e) {
389 389
			NotificationManager.addError("Error accediendo al driver", e);
390 390
		} catch (ParseException e) {
391 391
			NotificationManager.addError("Parse error", e);

Also available in: Unified diff