Revision 41437 trunk/org.gvsig.desktop/org.gvsig.desktop.compat.cdc/org.gvsig.fmap.dal/org.gvsig.fmap.dal.db/org.gvsig.fmap.dal.db.jdbc/src/main/java/org/gvsig/fmap/dal/store/jdbc/JDBCStoreProviderWriter.java
JDBCStoreProviderWriter.java | ||
---|---|---|
40 | 40 |
import org.gvsig.fmap.dal.feature.exception.PerformEditingException; |
41 | 41 |
import org.gvsig.fmap.dal.feature.spi.FeatureProvider; |
42 | 42 |
import org.gvsig.fmap.dal.feature.spi.FeatureReferenceProviderServices; |
43 |
import org.gvsig.fmap.dal.resource.exception.AccessResourceException; |
|
44 | 43 |
import org.gvsig.fmap.dal.spi.DataStoreProviderServices; |
45 | 44 |
import org.gvsig.fmap.dal.store.db.FeatureTypeHelper; |
46 |
import org.gvsig.fmap.dal.store.jdbc.exception.JDBCException; |
|
47 | 45 |
import org.gvsig.fmap.dal.store.jdbc.exception.JDBCExecutePreparedSQLException; |
48 | 46 |
import org.gvsig.fmap.dal.store.jdbc.exception.JDBCExecuteSQLException; |
49 | 47 |
import org.gvsig.fmap.dal.store.jdbc.exception.JDBCPreparingSQLException; |
... | ... | |
437 | 435 |
throw new JDBCExecutePreparedSQLException(sql, values, e); |
438 | 436 |
} |
439 | 437 |
|
440 |
} catch (SQLException e1) {
|
|
441 |
throw new JDBCSQLException(e1);
|
|
438 |
} catch (Exception e1) { |
|
439 |
throw new JDBCExecuteSQLException(sql, e1);
|
|
442 | 440 |
} |
443 | 441 |
} |
444 | 442 |
|
... | ... | |
475 | 473 |
resetCount(); |
476 | 474 |
|
477 | 475 |
} catch (Exception e) { |
478 |
throw new PerformEditingException(this.getProviderName(), e);
|
|
476 |
throw new PerformEditingException(this.getSourceId().toString(), e);
|
|
479 | 477 |
} |
480 | 478 |
} |
481 | 479 |
|
... | ... | |
713 | 711 |
} |
714 | 712 |
|
715 | 713 |
} catch (Exception e) { |
716 |
throw new PerformEditingException(this.getProviderName(), e);
|
|
714 |
throw new PerformEditingException(this.getSourceId().toString(), e);
|
|
717 | 715 |
} |
718 | 716 |
} |
719 | 717 |
|
Also available in: Unified diff