Revision 47606 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/jdbc2/spi/operations/AbstractConnectionOperation.java
AbstractConnectionOperation.java | ||
---|---|---|
126 | 126 |
throw new JDBCTransactionRollbackException(e1, ex); |
127 | 127 |
} |
128 | 128 |
throw new SQLRuntimeException("Can't perform operation '"+this.getClass().getSimpleName()+"'.",ex); |
129 |
} catch (RuntimeException ex) { |
|
130 |
try { |
|
131 |
this.getConnection().rollback(); |
|
132 |
} catch (Exception e1) { |
|
133 |
throw new JDBCTransactionRollbackException(e1, ex); |
|
134 |
} |
|
135 |
throw ex;//new RuntimeException("Can't perform operation '"+this.getClass().getSimpleName()+"'.",ex); |
|
129 | 136 |
} catch (Exception ex) { |
130 | 137 |
try { |
131 | 138 |
this.getConnection().rollback(); |
Also available in: Unified diff