Revision 4979
Added by daigle over 15 years ago
src/edu/ucsb/nceas/metacat/spatial/SpatialDataset.java | ||
---|---|---|
280 | 280 |
|
281 | 281 |
} catch (MalformedURLException e) { |
282 | 282 |
e.printStackTrace(); |
283 |
t.rollback(); // cancel opperations
|
|
283 |
t.rollback(); // cancel operations |
|
284 | 284 |
} catch (IOException e) { |
285 | 285 |
e.printStackTrace(); |
286 |
t.rollback(); // cancel opperations |
|
286 |
t.rollback(); // cancel operations |
|
287 |
} catch (Exception e) { |
|
288 |
e.printStackTrace(); |
|
289 |
t.rollback(); // cancel operations |
|
287 | 290 |
} finally { |
288 | 291 |
// Close out the transaction |
289 | 292 |
t.close(); |
Also available in: Unified diff
Catch exception that was leaving shape files open. Roll back transaction in this case.